Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 70163 invoked from network); 1 May 2003 04:20:34 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 May 2003 04:20:34 -0000 Received: (qmail 19162 invoked by uid 97); 1 May 2003 04:22:43 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@nagoya.betaversion.org Received: (qmail 19155 invoked from network); 1 May 2003 04:22:42 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 May 2003 04:22:42 -0000 Received: (qmail 69338 invoked by uid 500); 1 May 2003 04:20:24 -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 69327 invoked from network); 1 May 2003 04:20:24 -0000 Received: from galen.earthdome.org (206.152.117.245) by daedalus.apache.org with SMTP; 1 May 2003 04:20:24 -0000 Received: from mail.more.net (unknown [192.168.1.1]) by galen.earthdome.org (Postfix) with ESMTP id 9BE9B1322E for ; Wed, 30 Apr 2003 23:20:33 -0500 (CDT) Message-ID: <3EB0A091.9040906@mail.more.net> Date: Wed, 30 Apr 2003 23:20:33 -0500 From: Glenn Nielsen Organization: MOREnet User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.2.1) Gecko/20030224 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: mod_jk 1.2 Apache 2 hook priorities Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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? Thanks, Glenn --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org