Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 31431 invoked from network); 22 Sep 2008 15:06:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2008 15:06:02 -0000 Received: (qmail 55442 invoked by uid 500); 22 Sep 2008 15:05:55 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 55390 invoked by uid 500); 22 Sep 2008 15:05:55 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 55379 invoked by uid 99); 22 Sep 2008 15:05:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 08:05:55 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [195.29.150.135] (HELO ls405.t-com.hr) (195.29.150.135) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2008 15:04:54 +0000 Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 862ED40232 for ; Mon, 22 Sep 2008 17:04:55 +0200 (CEST) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 8302FD50051 for ; Mon, 22 Sep 2008 17:04:55 +0200 (CEST) X-Envelope-Sender: mturk@apache.org Received: from mturk.csb (83-131-37-144.adsl.net.t-com.hr [83.131.37.144]) by ls248.t-com.hr (Qmali) with ESMTP id F1D425E00C8 for ; Mon, 22 Sep 2008 17:04:54 +0200 (CEST) Message-ID: <48D7B416.6000307@apache.org> Date: Mon, 22 Sep 2008 17:04:54 +0200 From: Mladen Turk User-Agent: Thunderbird 2.0.0.14 (X11/20080515) MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: mod_jk / Tomcat 6 and ErrorDocument References: <6291fc850809220736u71183c6bp6025d6b71bbb5533@mail.gmail.com> In-Reply-To: <6291fc850809220736u71183c6bp6025d6b71bbb5533@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-Product-Ver: IMSS-7.0.0.3129-5.5.0.1026-16174.000 X-TM-AS-Result: No--5.874-5.0-31-1 X-imss-scan-details: No--5.874-5.0-31-1 X-TM-AS-Result-Xfilter: Match text exemption rules:No X-Virus-Checked: Checked by ClamAV on 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