summaryrefslogtreecommitdiff
path: root/server/config.c
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2016-04-26 00:04:57 +0000
committerYann Ylavic <ylavic@apache.org>2016-04-26 00:04:57 +0000
commitf9ad2754f761a5eab4d6786cbcfb8754c00cfb35 (patch)
tree24d6ae5f47630a6a6bf0e7c3027b28ab251fa82e /server/config.c
parentbc55f0eb19a97a92ca17ed03991aa0cb6e5904ca (diff)
downloadhttpd-f9ad2754f761a5eab4d6786cbcfb8754c00cfb35.tar.gz
mod_proxy, mod_ssl: Handle SSLProxy* directives in <Proxy> sections,
allowing per backend TLS configuration. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1740928 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/config.c')
-rw-r--r--server/config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/config.c b/server/config.c
index 7d8f8fc971..3264d0a550 100644
--- a/server/config.c
+++ b/server/config.c
@@ -864,6 +864,11 @@ static const char *invoke_cmd(const command_rec *cmd, cmd_parms *parms,
cmd->name);
return NULL;
}
+ else if (parms->directive && parms->directive->parent) {
+ return apr_pstrcat(parms->pool, cmd->name, " not allowed in ",
+ parms->directive->parent->directive, ">",
+ " context", NULL);
+ }
else {
return apr_pstrcat(parms->pool, cmd->name,
" not allowed here", NULL);