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]