From: Paul Querna Date: Wed, 11 May 2005 20:11:44 +0000 (+0000) Subject: Make sure mod_rewrite always runs before mod_proxy in the translate_name hook. This... X-Git-Tag: 2.1.5~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c84966321a247e2217369c40d9ff1096242f7a37;p=thirdparty%2Fapache%2Fhttpd.git Make sure mod_rewrite always runs before mod_proxy in the translate_name hook. This makes doing RewriteRules on a Reverse Proxy.. Slightly more predictable than the order of LoadModules. Reported By: David D. Miller git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@169692 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 104caabefb9..3bae5e8615c 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.5 [Remove entries to the current 2.0 section below, when backported] + *) mod_proxy: Run mod_rewrite beofre mod_proxy in the translate_name + hook. [Paul Querna] + *) mod_authnz_ldap: Add the directive AuthLDAPAllowDNAuth to allow a user to authenticate against an LDAP directory using a full user DN. [Brad Nicholes] diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index f3ad42be2fb..7f09042957f 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -1813,7 +1813,7 @@ static void register_hooks(apr_pool_t *p) /* handler */ ap_hook_handler(proxy_handler, NULL, NULL, APR_HOOK_FIRST); /* filename-to-URI translation */ - ap_hook_translate_name(proxy_trans, NULL, NULL, APR_HOOK_FIRST); + ap_hook_translate_name(proxy_trans, aszSucc, NULL, APR_HOOK_FIRST); /* walk entries and suppress default TRACE behavior */ ap_hook_map_to_storage(proxy_map_location, NULL,NULL, APR_HOOK_FIRST); /* fixups */