Commit 5fd013aa authored by Paul Querna's avatar Paul Querna
Browse files

Make sure mod_rewrite always runs before mod_proxy in the translate_name hook....

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 <justdave bugzilla.org>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@169692 13f79535-47bb-0310-9956-ffa450edef68
parent 55a8745e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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]
+1 −1
Original line number Diff line number Diff line
@@ -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 <Proxy > entries and suppress default TRACE behavior */
    ap_hook_map_to_storage(proxy_map_location, NULL,NULL, APR_HOOK_FIRST);
    /* fixups */