Hello,

We're running a live service using Tomcat (4.0.6) and Apache 1.3, using
mod_webapp.  From time to time, to upgrade the software etc., we need to
restart Tomcat.  If people access the site while we're doing this, they get
the rather unfriendly error message:

WebApp: Error 404
(File: wa_request.c Line: 205) 
Web-application not yet deployed 
(etc.)

Is there a way to replace this with a custom HTML page, say one that says
"Sorry, our site is down for maintenance, please try again soon"?  It looks
like the above message is hardcoded into mod_webapp (wa_request.c), but I'd
rather not change that.  Plain old "ErrorDocument 404" doesn't work, and I
can't use error-page in web.xml of course, since Tomcat isn't running!

And out of interest, is this possible in mod_jk2?

 Robert Tansley / Hewlett-Packard Laboratories / +44 (0)117 312 9116 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to