]> granicus.if.org Git - apache/commitdiff
Redfine - we are just worried about balancers and workers, so have the directive...
authorJim Jagielski <jim@apache.org>
Mon, 17 Dec 2012 15:24:40 +0000 (15:24 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 17 Dec 2012 15:24:40 +0000 (15:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422980 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy.xml
modules/proxy/mod_proxy.c

index e92275f04798a849d48a30acbc44a308ca10d3a9..17098e4cc1be09f26f0f64e1865110c5b3e889d8 100644 (file)
@@ -663,7 +663,24 @@ expressions</description>
         normal restart/graceful state transitions.</p>
     </usage>
 </directivesynopsis>
-    
+
+<directivesynopsis>
+    <name>BalancerInherit</name>
+    <description>Inherit ProxyPassed Balancers/Workers from the main server</description>
+    <syntax>ProxyPassInherit On|Off</syntax>
+    <default>ProxyPassInherit On</default>
+    <contextlist><context>server config</context><context>virtual host</context></contextlist>
+    <compatibility>ProxyPassInherit is only available in Apache HTTP Server 2.5.0
+        and later.</compatibility>
+    <usage>
+        <p>This directive will cause the current server/vhost to "inherit" ProxyPass
+            Balancers and Workers defined in the main server. This can cause issues and
+            inconsistent behavior if using the Balancer Manager and so should be disabled
+            if using that feature.</p>
+        <p>The setting in the global server defines the default for all vhosts.</p>
+    </usage>
+</directivesynopsis>
+
 <directivesynopsis>
     <name>BalancerMember</name>
     <description>Add a member to a load balancing group</description>
@@ -1195,23 +1212,6 @@ ProxyPass / balancer://hotcluster/
 </usage>
 </directivesynopsis>
 
-<directivesynopsis>
-    <name>ProxyPassInherit</name>
-    <description>Inherit ProxyPass Balancers/Workers from the main server</description>
-    <syntax>ProxyPassInherit On|Off</syntax>
-    <default>ProxyPassInherit On</default>
-    <contextlist><context>server config</context><context>virtual host</context></contextlist>
-    <compatibility>ProxyPassInherit is only available in Apache HTTP Server 2.5.0
-        and later.</compatibility>
-    <usage>
-        <p>This directive will cause the current server/vhost to "inherit" ProxyPass
-            Balancers and Workers defined in the main server. This can cause issues and
-            inconsistent behavior if using the Balancer Manager and so should be disabled
-            if using that feature.</p>
-        <p>The setting in the global server defines the default for all vhosts.</p>
-    </usage>
-</directivesynopsis>
-
 <directivesynopsis>
 <name>ProxyPassMatch</name>
 <description>Maps remote servers into the local server URL-space using regular expressions</description>
index 7be65dcd7d5bb7670743eb50bfae2098b5c47335..b7623b34ed9dc70d71907827bc95d3b33c4a802b 100644 (file)
@@ -2300,8 +2300,8 @@ static const command_rec proxy_cmds[] =
      "Number of additional Balancers that can be added post-config"),
     AP_INIT_FLAG("BalancerPersist", set_persist, NULL, RSRC_CONF,
      "on if the balancer should persist changes on reboot/restart made via the Balancer Manager"),
-    AP_INIT_FLAG("ProxyPassInherit", set_inherit, NULL, RSRC_CONF,
-     "on if this server should inherit ProxyPass balancers and workers defined in the main server "
+    AP_INIT_FLAG("BalancerInherit", set_inherit, NULL, RSRC_CONF,
+     "on if this server should inherit ProxyPassed balancers and workers defined in the main server "
      "(Not recommended if using the Balancer Manager)"),
     AP_INIT_TAKE1("ProxyStatus", set_status_opt, NULL, RSRC_CONF,
      "Configure Status: proxy status to one of: on | off | full"),