google app engine - appengine custom 404 page for static website -
i trying host simple static website on google appengine, have problem setting custom 404 page.
my app.yaml
serves static files (from www
subdir) requests:
application: id version: v runtime: python27 api_version: 1 default_expiration: "1d" threadsafe: yes handlers: - url: (.*)/ static_files: www\1/index.html upload: www/index.html - url: / static_dir: www error_handlers: - file: 404.html
but while trying access file not exist, not see 404.html, default gae error message.
logs show:
static file referenced handler not found: www/does-not-exists/index.html
or
static file referenced handler not found: www/does-not-exists.html
what doing wrong?
this won't work. static handler match things, , can not error_handler 404.
Comments
Post a Comment