tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: webapp stopped default to a 404 not to a 503 ?
Date Mon, 06 Apr 2009 10:12:27 GMT
killbulle wrote:
> Hi
> i'am  actually fighting with a modjk/tomcat 404 issue
> if a webapps is stopped it returns a 404 not a 503 so i ihave to configure
> 404 as a KO error for the modjk
> but 404 is a current code for some stupid css ressource or html page miss
> so i ask myself why not a 503 web the webapps is stopped 
> Regards marc


HTTP 503 is intended to indicate a temporary problem with a service, so
if you've actually stopped an application (instead of restarting) this
error shouldn't apply.

Then, because the webapp is stopped the requests fall into the URL space
of the default/another application (e.g. ROOT), which does not contain
resources at those URLs.


p



[cough]
Tomcat version, JVM version, OS version...
[cough]



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


Mime
View raw message