You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Edward Quick <ed...@hotmail.com> on 2006/09/22 09:09:43 UTC

Handling Tomcat Errors in Apache

Hi,

I have an Apache 2 -> mod_jk -> Tomcat 5.5.16 set up and I'm trying to get 
Tomcat errors handled by Apache.

In Apache I have:

ErrorDocument 404 /cgi-bin/error.cgi

And in Tomcat's web.xml I have

<error-page>
    <error-code>404</error-code>
    <location>/cgi-bin/error.cgi</location>
</error-page>

I guess the location tag is wrong here as it doesn't work, but I'm not 
surewhat else to put.
Could someone help me out please?!

Thanks,

Ed.



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