I'm running Apache "Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/1.0.0d mod_jk/1.2.32" for Web server and Apache Tomcat/6.0.32 as the application server.
I need to configure apache to render the 503 page whenever tomcat is down or unavailable.I have read a couple of articles which suggest that the configuration need to be done on the mod_jk.conf virtual host. One of the links suggested that I need to the following in my virtual host:
<Directory /udd001/app/docroot>
Order allow,deny
Allow from all
</Directory>
But this doesn't seem to work for me. My 404 aqnd 503 html files are sitting in /udd001/app/docroot
. And my virtual host currently has the following which doesn't seem to work properly.
ErrorDocument 404 /error404.html
ErrorDocument 503 /maintenance503.html
Whenever tomcat is down, I'm still getting the 404 page.