diff --git a/docs/userguide/src/main/docbook/modules/faq.xml b/docs/userguide/src/main/docbook/modules/faq.xml index 11fbe8a99..7bfd27ef4 100644 --- a/docs/userguide/src/main/docbook/modules/faq.xml +++ b/docs/userguide/src/main/docbook/modules/faq.xml @@ -166,18 +166,18 @@ GET / "client denied by server configuration": - The directory in the VirtualHost is not allowed for the client. + The location in the VirtualHost is not allowed for the client. If you have something like: Mon Jun 28 18:08:47 2010] [error] [client 10.33.144.3] client denied by server configuration: / You need to have something like: - + Order deny,allow Deny from all Allow from 10.33.144.3 -]]> +]]> @@ -191,11 +191,11 @@ GET / - + Order deny,allow Deny from all Allow from 127.0.0.1 - + ServerAdvertise on http://localhost:6666 EnableMCPMReceive diff --git a/docs/userguide/src/main/docbook/modules/quick-start.xml b/docs/userguide/src/main/docbook/modules/quick-start.xml index 67e43205b..d1bf55a3d 100644 --- a/docs/userguide/src/main/docbook/modules/quick-start.xml +++ b/docs/userguide/src/main/docbook/modules/quick-start.xml @@ -122,11 +122,11 @@ LoadModule advertise_module /opt/jboss/httpd/lib/httpd/modules/mod_advertise.so Listen 10.33.144.3:6666 - + Order deny,allow Deny from all Allow from 10.33.144. - + KeepAliveTimeout 60 MaxKeepAliveRequests 0 @@ -149,11 +149,11 @@ LoadModule advertise_module modules/mod_advertise.so Listen 10.33.144.3:6666 - + Order deny,allow Deny from all Allow from 10.33.144. - + KeepAliveTimeout 60 MaxKeepAliveRequests 0 diff --git a/native/mod_manager/mod_manager.c b/native/mod_manager/mod_manager.c index 4ebb3fa36..fa90b5545 100644 --- a/native/mod_manager/mod_manager.c +++ b/native/mod_manager/mod_manager.c @@ -3405,11 +3405,24 @@ static const char*cmd_manager_maxmesssize(cmd_parms *cmd, void *mconfig, const c static const char*cmd_manager_enable_mcmp_receive(cmd_parms *cmd, void *dummy) { mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config, &manager_module); - if (!cmd->server->is_virtual) - return "EnableMCPMReceive must be in a VirtualHost"; - mconf->enable_mcmp_receive = -1; + ap_directive_t *directive = cmd->directive->parent ? cmd->directive->parent->first_child : cmd->directive; + (void)dummy; + + if (!cmd->server->is_virtual) { + return "EnableMCMPReceive must be in a VirtualHost"; + } + + while (directive) { + if (strcmp(directive->directive, "next; + } + + mconf->enable_mcmp_receive = 1; return NULL; } + static const char*cmd_manager_enable_mcmp_receive_deprecated(cmd_parms *cmd, void *dummy) { ap_log_error(APLOG_MARK, APLOG_WARNING, 0, NULL, diff --git a/test/java/README.txt b/test/java/README.txt index 1cbd25e8e..627dd4f35 100644 --- a/test/java/README.txt +++ b/test/java/README.txt @@ -17,11 +17,11 @@ NOTE the httpd should have something like the following in httpd.conf Listen jfcpc:6666 - + Order deny,allow Deny from all Allow from 10.33.144 - + KeepAliveTimeout 300 MaxKeepAliveRequests 0 diff --git a/test/java/installhttpd.sh b/test/java/installhttpd.sh index ed2e01b5f..86c79216e 100644 --- a/test/java/installhttpd.sh +++ b/test/java/installhttpd.sh @@ -314,11 +314,11 @@ then Listen @IP@:6666 ManagerBalancerName mycluster - + Order deny,allow Deny from all Allow from @SUBIP@ - + KeepAliveTimeout 300 MaxKeepAliveRequests 0 @@ -343,9 +343,9 @@ EOF Listen @IP@:6666 ManagerBalancerName mycluster - + Require ip @SUBIP@ - + KeepAliveTimeout 300 MaxKeepAliveRequests 0