|
|
我的squid.conf配置文件:
visible_hostname justone
http_port 10.0.0.1:3128
httpd_accel_port 80
httpd_accel_host virtual
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
icp_port 0
cache_effective_user squid
cache_effective_group squid
cache_dir ufs /usr/local/squid/var/cache 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
dns_nameservers 61.144.56.101 202.100.4.15 202.96.128.68
auth_param basic program /usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/passwd
auth_param basic realm My Proxy Caching Domain
auth_param basic credentialsttl 2 hours
acl authuser proxy_auth REQUIRED
acl mytest src 10.0.0.0/24
acl all src 0.0.0.0/0.0.0.0
http_access allow authuser
http_access allow mytest
http_access deny all
现在就是根本不弹出来询问密码的对话框!
要是注释掉mytest的话又提示访问被拒绝!
怎么回事情啊! |
|