- Creating user for ncsa_auth
# htpasswd /etc/squid/passwd user1
Her results will be just as it is :
New password:
Re-type new password:
Adding password for user user1 - Make sure squid can read the file
# chmod o+r /etc/squid/passwd - Add Squid configuration
# vi /etc/squid/squid.conf
Then enter this configuration in squid.conf
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off - Also add the command below
acl ncsa_users proxy_auth REQUIRED
http_access allow ncsa_users - Restart squid
# /etc/init.d/squid restart
Saturday, September 22, 2012
ncsa_auth Squid proxy authentication
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment