You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2010/12/21 21:00:38 UTC

svn commit: r1051628 - /httpd/httpd/trunk/modules/proxy/mod_proxy.c

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;