tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Goupil" <goupilpie...@gmail.com>
Subject Re: Apache Httpd & Tomcat error pages
Date Tue, 09 Sep 2008 16:00:19 GMT
Exactly ! I've checked it out and it does work like you said.

Cheers Johnny !

Pierre

On Tue, Sep 9, 2008 at 5:45 PM, Johnny Kewl <john@kewlstuff.co.za> wrote:

>
> ----- Original Message ----- From: "Pierre Goupil" <goupilpierre@gmail.com
> >
> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message