|
朋友们,我在配置SQUID的时候遇到一些问题,请指点一二。我的配置文件如下:
#vi /etc/squid/squid.conf
http_port 172.16.126.4:3128
cache_mem 256 MB
cache_dir ufs /var/spool/squid 4096 16 256
cache_effective_user squid
cache_effective_group squid
dns_nameservers 172.16.2.1
cache_access_log /var/log/squid/access.log
cache_store_log /var/log/squid/store.log
visible_hostname 172.16.126.4
cache_mgr wluck@sohu.com
acl all src 0.0.0.0/0.0.0.0
http_access allow all
#NCSA Authentication
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/passwd
auth_param basic children 5
auth_param basic credentialsttl 2 hours
auth_param basic realm input ncsa auth infor
acl auth_user proxy_auth REQUIRED
http_access allow auth_user proxy_auth
#vi /etc/squid/passwd
pcboy:/qCJl22VPARX2
#service squid reload
2009/03/05 10:15:27| WARNING: '0.0.0.0/0.0.0.0' is a subnetwork of '0.0.0.0/0.0.0.0'
2009/03/05 10:15:27| WARNING: because of this '0.0.0.0/0.0.0.0' is ignored to keep splay tree searching predictable
2009/03/05 10:15:27| WARNING: You should probably remove '0.0.0.0/0.0.0.0' from the ACL named 'all'
2009/03/05 10:15:27| aclParseAccessLine: ACL name 'proxy_auth' not found.
FATAL: Bungled squid.conf line 20: http_access allow auth_user proxy_auth
Squid Cache (Version 3.0.STABLE2): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.005 user + 0.002 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
在windows机器里尝试使用**服务器,但连接不了,找不到服务器。 请问如何解决? |
|