Sunday, October 3, 2010

Squid/proxy server and .htaccess

sudo apt-get install
htpasswd -c /etc/squid/squid_passwd

vi /etc/squid/squid.conf:

auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/squid_passwd
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users


Go into your web browser and change your proxy settings now. You'll also want to supply the username and password to sign-in to the Squid server.

No comments:

Post a Comment