I have an application with spring security. I case the user is not authenticated he is redirected to bo/login page.
The problem is that the way i setup the apache web server in front of the tomcat i produce infinite redirection loop:
<VirtualHost *:80>
ServerName dev.bo.MYDOMAIN.com
ProxyPass / ajp://localhost:20009/bo/
ProxyPassReverse / ajp://localhost:20009/bo/
ProxyPassReverseCookiePath /bo/ /
</VirtualHost>
Does anyone knows how can i prevent the loop in case the user is not authenticated?