You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2024/10/31 11:06:53 UTC

[Bug 69420] New: ProxyPassInherit should be independent from BalancerInherit

https://bz.apache.org/bugzilla/show_bug.cgi?id=69420

            Bug ID: 69420
           Summary: ProxyPassInherit should be independent from
                    BalancerInherit
           Product: Apache httpd-2
           Version: 2.4.51
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy
          Assignee: bugs@httpd.apache.org
          Reporter: jan.haering@rz-kiru.de
  Target Milestone: ---

In https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypassinherit it is
described, that BalancerInherit will be also disabled. Both parameters should
be independent.

ProxyPass configs are not listed in the Balancer Manager, so there is no issue
why BalancerInherit is disabled too. 

UseCase 1: Activate global ProxyPass configs only in specific vhosts
- main config
ProxyPassInherit Off
ProxyPass /test http://example.org/test
ProxyPassReverse /test http://example.org/test
- vhost
ProxyPassInherit On

UseCase 2: Use central Balancer Manager for all balancer 
- main config
BalancerInherit On
<proxy balancer://test>
        BalancerMember http://example.org
        BalancerMember http://example2.org
</proxy>
- vhost
ProxyPass /test balancer://example//test
ProxyPassReverse balancer://example//test

Because of https://bz.apache.org/bugzilla/show_bug.cgi?id=58120 this is
actually not testable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 69420] ProxyPassInherit should be independent from BalancerInherit

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=69420

Jan <ja...@rz-kiru.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Jan <ja...@rz-kiru.de> ---
I found out that the current settings are displayed in the Balancer Manager.

It seems that they are already independent. But the Documenation
https://httpd.apache.org/docs/2.4/mod/mod_proxy.html#proxypassinherit ist
wrong.

Can you confirm and fix the documentation?


ProxyPassInherit On
BalancerInherit On

Balancer changes will NOT be persisted on restart.
Balancers are inherited from main server.
ProxyPass settings are inherited from main server.



ProxyPassInherit Off
BalancerInherit On

Balancer changes will NOT be persisted on restart.
Balancers are inherited from main server.
ProxyPass settings are NOT inherited from main server.


ProxyPassInherit On
BalancerInherit Off

Balancer changes will NOT be persisted on restart.
Balancers are NOT inherited from main server.
ProxyPass settings are inherited from main server.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org