httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1051628 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c
Date Tue, 21 Dec 2010 20:00:38 GMT
Author: minfrin
Date: Tue Dec 21 20:00:38 2010
New Revision: 1051628

URL: http://svn.apache.org/viewvc?rev=1051628&view=rev
Log:
The alias_set variable is set when a parent location contains a ProxyPass,
so this check catches valid ProxyPasses. Remove the check.

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

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy.c?rev=1051628&r1=1051627&r2=1051628&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy.c Tue Dec 21 20:00:38 2010
@@ -1417,9 +1417,6 @@ static const char *
 
     /* if per directory, save away the single alias */
     if (cmd->path) {
-        if (dconf->alias_set) {
-            return "ProxyPass may be defined just once within a specific location block";
-        }
         dconf->alias = apr_pcalloc(cmd->pool, sizeof(struct proxy_alias));
         dconf->alias_set = 1;
         new = dconf->alias;



Mime
View raw message