tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Gomez" <henri.go...@gmail.com>
Subject Re: mod_jk / Tomcat 6 and ErrorDocument
Date Mon, 22 Sep 2008 15:08:58 GMT
Hum good idea.

Same thing for 404/500/503 I suppose.



2008/9/22 Mladen Turk <mturk@apache.org>:
> Henri Gomez wrote:
>>
>> Hi to all,
>>
>> Did some of you experienced problems with mod_jk 1.2.26 (and maybe
>> earlier release) and Apache 2.x ErrorDocument directive.
>>
>> In one of my configuration I set :
>>
>>    ErrorDocument 404 /gen_error404.html
>>    ErrorDocument 500 /gen_error500.html
>>    ErrorDocument 503 /gen_error503.html
>>
>>    JkMount /sitea/* wsitea
>>    JkMount /siteb/* wsitea
>>    JkOptions +ForwardDirectories
>>
>>
>> When I look for a unexisting resource under Apache 2 control, I got
>> the content of gen_error404.html.
>> Also if the tomcat is unavailable I got back gen_error503.html page.
>>
>> But if I'm looking for an unexisting resource under Tomcat control, I
>> get back the standard Tomcat 404 error instead of the
>> gen_error404.html.
>>
>> Did there is some 'special settings' or configuration to be done on
>> Apache/jk ?
>>
>
> Try creating custom 404 page for tomcat with zero length body.
> In that case Apache httpd error page will be shown
>
>
> Regards
> --
> ^(TM)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

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


Mime
View raw message