Feb 26, 2008

squid configuration on Centos 5

1564,1565c1564,1565 < # /usr/lib/squid/ncsa_auth < auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd --- > # > # auth_param basic program /usr/libexec/ncsa_auth /usr/etc/passwd 1573c1573 < auth_param basic children 5 --- > # auth_param basic children 5 1586c1586 < auth_param basic realm Squid proxy-caching web server --- > # auth_param basic realm Squid proxy-caching web server 1597c1597 < auth_param basic credentialsttl 2 hours --- > # auth_param basic credentialsttl 2 hours 1769d1768 < 2412,2415d2410 < acl password proxy_auth REQUIRED < http_access allow password < http_access deny all < 2461d2455 < follow_x_forwarded_for allow all 2528c2522 < acl our_networks src 192.168.11.0/24 192.168.1.0/24 --- > acl our_networks src 192.168.0.0/24 192.168.1.0/24 3214d3207 < cachemgr_passwd vuhung all 3444,3447d3436 < header_access X-Forwarded-For deny all < header_access Via deny all < header_access Cache-Control deny all < cd /etc/squid/ htpasswd -c -b passwd squid_name squid_password /etc/init.d/squid start diff squid.conf squid.conf.2008-02-26.orig > /home/vuhung/work/squid.conf.diff.`date -I`

No comments: