LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 804|回复: 1

ncsa怎么不起作用?

[复制链接]
发表于 2004-4-20 14:28:57 | 显示全部楼层 |阅读模式
我的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的话又提示访问被拒绝!
怎么回事情啊!
 楼主| 发表于 2004-4-20 14:45:59 | 显示全部楼层
注释掉mytest和http_access deny all
以后出现密码对话框
输入正确的密码后还是通不过!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表