----- Original Message ----- From: "Pierre Goupil" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, September 09, 2008 4:54 PM
Subject: Apache Httpd & Tomcat error pages


Hi all,

We've got an Httpd 2.0 server sitting in front of a Tomcat 5.5 with mod_jk.
Tomcat has several <error-page> set up, amongst which HTTP 404, and so has
Httpd.

When the user tries & retrieve an inexistent page, he or she receives the
page from Tomcat, with a 404 error-code. Can anyone explain me why the error
page doesn't come from Httpd ? Is it expected behavior from mod_jk ?

Cheers,

Pierre

Pierre, I think its just the mapping in your JK files...

eg:
JkMount /theWebApp/*.jsp  lb

Means any jsp file under /theWebApp
even ones that dont exist... so TC does 404's

but

JkMount /theWebApp/myFile.jsp  lb

would mean

/theWebApp/IDontExist.htm

would be 404'd by apache

... I think ;)
---------------------------------------------------------------------------
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---------------------------------------------------------------------------


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

Reply via email to