Monday, June 1, 2009

How to make a simple 404 page in App Engine

In app.yaml you have to define a 'catch all' mask at the very end of the file:

# --- 404 page ---
- url: /.*
script: 404.py

Of course you can use a static file as well.

No comments:

Post a Comment