Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 6600 invoked from network); 1 May 2003 05:14:47 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 May 2003 05:14:47 -0000 Received: (qmail 19772 invoked by uid 97); 1 May 2003 05:16:57 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 19765 invoked from network); 1 May 2003 05:16:56 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 May 2003 05:16:56 -0000 Received: (qmail 5788 invoked by uid 500); 1 May 2003 05:14:37 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 5777 invoked from network); 1 May 2003 05:14:37 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 1 May 2003 05:14:37 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19B6Ny-0004C5-00 for ; Thu, 01 May 2003 07:13:34 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: tomcat-dev@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19B6Nw-0004Bo-00 for ; Thu, 01 May 2003 07:13:32 +0200 From: Costin Manolache Subject: Re: mod_jk 1.2 Apache 2 hook priorities Date: Wed, 30 Apr 2003 22:13:55 -0700 Lines: 36 Message-ID: References: <3EB0A091.9040906@mail.more.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Glenn Nielsen wrote: > Currently the Apache 2 mod_jk 1.2 name_translate hook is set to > APR_HOOK_FIRST, > and the handler hook is set to APR_HOOK_MIDDLE. I found that this makes > mod_jk have precedence over some core modules such as mod_alias which has > its name_translate > configured at APR_HOOK_MIDDLE. This can prevent an Alias config from > working for a virtual host which is using mod_jk. > > I would like to change the hook priority for both name_translate and the > handler > to APR_HOOK_LAST. This will allow core modules to act upon the request > before > mod_jk does. There should be no problem setting them to the same priority > since the handler always gets invoked after name translation has been > done. > > I saw this problem using JkAutoAlias. It was taking priority over a > core apache Alias config directive. > > I have tested these changes and mod_jk seems to work fine. > > Does anyone know of a reason why this change couldn't be made? Before the release or after ? I know it changed few times, and it's not a trivial change. +1 if you make the change after release, so it get more testing. I'm close to -1 on making it a "last minute" change. If you really need it, then we should delay the release of jk1.2 with few weeks. Costin --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org