302 endless loop with mod_auth_form config

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

 



I'm looking for the erorr in this config :
KeepAlive On
ServerName server1.domain1.local
ServerAdmin me@domain1.local
Listen 10.10.10.10:80 http
<Proxy balancer://cd107d9706d71153bafd4ab15f1c6b5d>
        BalancerMember http://server1.domain2.local status=-SE
</Proxy>
<VirtualHost 10.10.10.10:80>
        ServerName secured.domain1.local
        SSLProxyEngine On
        RequestHeader set X-Forwarded-Proto http

        DocumentRoot /var/www/login_example/
        <Location /login/>
                SetHandler form-login-handler
                AuthFormLoginRequiredLocation http://secured.domain1.org/login/example_form_template
                AuthFormLoginSuccessLocation http://secured.domain1.org/
                AuthFormProvider myprovider
                AuthType form
                AuthName realm
                Session On
                SessionCookieName session path=/
        </Location>

        <Location />
                ProxyPass balancer://cd107d9706d71153bafd4ab15f1c6b5d/ lbmethod=bybusyness
                ProxyPassReverse balancer://cd107d9706d71153bafd4ab15f1c6b5d/

                AuthFormProvider myprovider
                AuthType form
                AuthName realm
                AuthFormLoginRequiredLocation http://secured.domain1.org/login/example_form_template
                Session On
                SessionCookieName session path=/
                Require valid-user
        </Location>
</VirtualHost>

Accessing / results in an endless loop of 302s to /login/. Putting
<LocationMatch ^/(?!login/)>
on the second block did not change anything.

[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