I have a website running on a google app engine.
Like any website these days it’s a mix of static html pages, javascripts,css, pictures as well as servlets to generate data…
For a few days we want to switch off the site. (The reasons are not relevant)
By switching off I mean that anybody who goes to
http://www.mysite.com/whatever-here
should get a message like:
[Hi there, we are reworking the site. Come and visit us in march 2013.]
is there an easy config change I can do so to configure that any call to that domain goes to some simple html page.
In that way I can leave all my web pages in the project and just toggle with this configuration.
Thanks
If you are using Java you can add a Filter that redirects all your requests to the page you want. Or even map everything (/*) in your web.xml to the servlet/jsp you want.
From the official docs: