httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pque...@apache.org
Subject svn commit: r169692 - in /httpd/httpd/trunk: CHANGES modules/proxy/mod_proxy.c
Date Wed, 11 May 2005 20:11:45 GMT
Author: pquerna
Date: Wed May 11 13:11:44 2005
New Revision: 169692

URL: http://svn.apache.org/viewcvs?rev=169692&view=rev
Log:
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>

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/proxy/mod_proxy.c

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=169692&r1=169691&r2=169692&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES (original)
+++ httpd/httpd/trunk/CHANGES Wed May 11 13:11:44 2005
@@ -2,6 +2,9 @@
 
   [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]

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=169692&r1=169691&r2=169692&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Wed May 11 13:11:44 2005
@@ -1813,7 +1813,7 @@
     /* 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 */



Mime
View raw message