ncsa怎么不起作用?

由 小小菜 在 04-20-2004 14:28 发表:

ncsa怎么不起作用?

我的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 mytes

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus