Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html><head>
- <meta http-equiv="content-type" content="text/html;charset=utf-8">
- <title>404 Not Found</title>
- </head>
- <body text=#000000 bgcolor=#ffffff>
- <h1>Error: Not Found</h1>
- <h2>The requested URL <code>/foo</code> was not found on this server.</h2>
- <h2></h2>
- </body></html>
- runtime: php55
- api_version: 1
- threadsafe: true
- # Handle the main page by serving the index page.
- handlers:
- - url: /$
- static_files: build/index.html
- upload: build/index.html
- # Handle folder urls by serving the index.html page inside.
- - url: /(.*)/$
- static_files: build/1/index.html
- upload: build/.*/index.html
- # Handle nearly every other file by just serving it.
- - url: /(.+)
- static_files: build/1
- upload: build/(.*)
- # all other pages are a 404
- - url: /.*
- static_files: build/404.html
- upload: build/404.html
- # This doesn't work either
- error_handlers:
- - file: build/404.html
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement