Squid and cache_peer login=PASS
Hi,
here is my issue :
I am using Squid Cache: Version 2.7.STABLE7 and it is working nicely with one issue that I haven't been able to solve.
I have a remote website that requires authentication. From what I understood, the authentication window needs to be pass through squid: Maybe more like squid requests the remote site the authentication window. After some readings, I modified cache_peer as such to begin with.
cache_peer hostname sibling 80 0 login=PASS
That resulted every single time in a 401 error
I tried to add
cache_peer_access hostname allow all --> but to no avail
After more hours of reading I added this
never_direct deny all --> Again, to no avail.
Actually when I decided to reboot my box, I could not connect at all to the any sites as I was getting every time the 401 error. Now its all back to normal but my external HTTP website which is still giving me the 401 error. I do not know the type of authentication my external website is using. May be that is why I can't solve my issue. The type of authentication on that website might just not be compatible with Squid; but I am not authenticating with squid but passing through it...
When I actually try to connect to my external website, my browser (firefox) detect the user name without any input from me. it just does not give me the opportunity to input my password. That's why I end up with a 401 error
Would appreciate any help on that one
Kind Regards,
Last edited by riganta; 05-20-2010 at 05:21 PM.
Reason: clarity
|