From d37c924b9d8eecc236bdb89da95a39c29dc5a9d5 Mon Sep 17 00:00:00 2001 From: Graham Leggett Date: Tue, 21 Dec 2010 20:00:38 +0000 Subject: [PATCH] The alias_set variable is set when a parent location contains a ProxyPass, so this check catches valid ProxyPasses. Remove the check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1051628 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index dc66bb7dd3..337c63de70 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -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; -- 2.50.1