I'm looking for the erorr in this config :
KeepAlive OnServerName server1.domain1.localServerAdmin
[email protected] 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.