I am referring to the set up custom error responses for Google Appengine as described in the documentation for Configuring with app.yaml particulary on the following code:
error_handlers
- error_code: default
file: default_error.html
- error_code: over_quota
file: over_quota.html
Currently I am running an application by putting the code in separate modules where python run as a default module configured in app.yaml. Other module's runtime are in php and java which are run simultaneously thru dispatch.yaml as shown below:
application: app-id
dispatch:
# Send favicon to default module - python
- url: "*/favicon.ico"
module: default
# Send script to java module
- url: "*/scripts/*"
module: javamodule
# Send others to php module
- url: "*/*"
module: phpmodule
Everything seems to work as expected but I need to know what I have been missing here since I have put the above error_handlers in the app.yaml but fail to show either default_error.html on page not found (error code: 404) nor over_quota.html on over quota (error code:503).
I have put them also in other modules with also no response. I have also make sure that the path to the error response file does not overlap with static file handler paths and that the both html file are less than 10 kilobytes.