Apache 2.4 proxy forward auth to backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, I've two backend server that require HTTP auth and I need the proxy ask for it and forward to backend server.
Proxy doesn't have the user/password file.

In Apache 2.2 I solved in this way:

<VirtualHost *:80>

        ProxyPass / balancer://hotcluster/
        <Proxy balancer://hotcluster>
                BalancerMember http://ip1/ loadfactor=20 retry=2
                BalancerMember http://ip2/ status=+H
       
                AuthBasicAuthoritative Off
                SetEnv proxy-chain-auth On
                AuthType basic
        </Proxy>
   
    <Location />
            AuthType basic
            AuthBasicAuthoritative Off
            SetEnv proxy-chain-auth On
            Order allow,deny
            Allow from all
    </Location>

</VirtualHost>

But it doesn't work with 2.4 version.

Anyone have suggestion?

Thanks

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux