Search squid archive

Re: htpasswd

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

 



Abidoon Nadeem wrote:
Hi,

I installed squid on the front of our webserver in accelerator mode so that all static content is served by squid and the dynamic content passed to the webserver at the back. I am using lighttpd at the backend and have password protected one of the folders using htpasswd utility. After installing squid when I call the protected folder in the browser like so www.mysite.com/protectedfolder I get the authentication challenge window but when I enter the username and password the window comes back. It seems because of squid it is not possible to authenticate anymore.

Any help with regards to this issue will be highly appreciated.

I think you need to add the 'login=PASS' option to the cache_peer line for yoru web server. That way squid knows to trust it with your credentials.
NOTE: that is the exact text 'login=PASS', minus only the quotes.

Amos
--
Please use Squid 2.6.STABLE19 or 3.0.STABLE4

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux