Daniel Mintz
Daniel Mintz

Reputation: 53

How to set up a custom 404 page on Google app Engine (go)

I have a google app engine project (go) and don't really like the default 404 page. I've built a custom 404.html page and placed it in my root but can't for the life of me work out how to redirect 404 errors to this custom page. Any ideas?

Upvotes: 0

Views: 211

Answers (1)

marian.vladoi
marian.vladoi

Reputation: 8074

I would recommend to read the documentation about app.yaml Reference, error_handlers

Example
error_handlers:
  - file: default_error.html

  - error_code: over_quota
    file: over_quota.html

Upvotes: 1

Related Questions