Hi guys,
 
I am using SquidGuard (since 2001) to control my users access. But, its not its only task. Its used too, to login my users before them start their navigation, to apply dynamically an individual policy to each user by this way: When a not logged user (that does not have an src acl in squidguard.conf) tries to access something, he is redirected to a login.cgi that requests for user and password. After the user posts that information, he will be redirected again to a pre-defined website (for example: www.squidguard.org).
 
The problem occurs when a user has a start page defined in his browser (for example www.squidguard.org). When the browser is opened, the user is redirected by squidguard to our login.cgi. So, the user posts his user/pass and after this the cgi will log him and redirect again to www.squidguard.org. Then, the browser begins an endless loop because it caches the start page as the login.cgi (that redirects the logged user to www.squidguard.org <- that is login.cgi to the browser).
 
I had already put the cache headers in my html and cgi but I can't eliminate this problem.
 
Do you know what's going on?
 
Thanks,
 
Fernando.

Reply via email to