Hum good idea.

Same thing for 404/500/503 I suppose.



2008/9/22 Mladen Turk <[EMAIL PROTECTED]>:
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to