Since there is manual intervention to stop the app. There can be manual intervention to tell apache not to forward requests to tomcat, for example: - change the apache config and graceful restart (but it does require a restart) - Use mod_rewrite to look for some marker (file existence or rewrite map setting) and use that as a toggle to a 404 page.

-Tim

Len Popp wrote:
How would you trap the condition? Apache httpd's ErrorDocument
directive won't work because as long as Tomcat is running you get
Tomcat's error pages.

If you stop Tomcat completely then you can use Apache's ErrorDocument
to show a "site down" page, but not if you just stop one webapp in
Tomcat.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to