tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Oix" <julien....@presidence.univ-nantes.fr>
Subject error-page directive gives a wrong response code to apache
Date Wed, 22 Oct 2003 12:11:37 GMT
hi everyone,

I have a problem with the error-page directive included in my web.xml

The RPM's I use on a Linux RedHat top box :

apache-1.3.27-2.7.1
tomcat4-4.1.18-full.1jpp
mod_jk-ap13-1.2.2-1jpp

so when apache gives a jsp to Tomcat, this one answers a code 200 instead of
a 404 in the apache log even if the jsp is not found ...

I know this bug is in the bugzilla database as "RESOLVED" yet (
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15406 ) but for 4.1.12
version so I can't understand what happens ...


the interesting part of my web.xml :

####################
<error-page>
                <error-code>403</error-code>
                <location>/error/403.jsp</location>
        </error-page>

        <error-page>
                <error-code>404</error-code>
                <location>/error/404.jsp</location>
        </error-page>

######################

has anyone an idea ?

thanks in advance,

Julien OIX
Service Informatique de Gestion - Université de Nantes
Tel: 02 40 99 83 65 / abroad + (33) 240 99 83 65
Web: http://www.univ-nantes.fr
mailto:julien.oix@presidence.univ-nantes.fr


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


Mime
View raw message