LinuxSir.cn,穿越时空的Linuxsir!

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

squid出错提示:unrecognised basic auth scheme parameter 'casesensitive'是什么

[复制链接]
发表于 2005-11-11 22:41:47 | 显示全部楼层 |阅读模式
我用的是ADSL共享上网,用squid+iptables透明代理。
我的squid.conf配置如下:请大家帮我分析一下,问题出在哪里,谢谢!
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 256 MB
cache_dir ufs /var/spool/squid 4096 16 256
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
#Suggested default:
refresh_pattern ^ftp:                1440        20%        10080
refresh_pattern ^gopher:        1440        0%        1440
refresh_pattern .                0        20%        4320


#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80                # http
acl Safe_ports port 21                # ftp
acl Safe_ports port 443 563        # https, snews
acl Safe_ports port 70                # gopher
acl Safe_ports port 210                # wais
acl Safe_ports port 1025-65535        # unregistered ports
acl Safe_ports port 280                # http-mgmt
acl Safe_ports port 488                # gss-http
acl Safe_ports port 591                # filemaker
acl Safe_ports port 777                # multiling http
acl CONNECT method CONNECT
# deny MSN users
acl MSN_Group src 192.168.0.3

# Special Dept & Person
acl Personnel src 192.168.0.3
# Restricted Times
acl WorkingHours1 time M T W H F 09:00-12:00
acl WorkingHours2 time M T W H F 13:00-18:00

# Restricted Sites
acl MSNSites dstdomain .msgr.hotmail.com
acl msnmessenger req_mime_type ^application/x-msn-messenger$

acl PersonnelSites dstdomain .51job.com
acl PurchaseSites dstdomain .ebay.com.cn
acl PurchaseSites dstdomain .taobao.com

# MSN deny
http_access deny MSN_Group MSNSites
http_access allow Personnel PersonnelSites

http_access allow all


# and finally allow by default
http_reply_access allow all


#Allow ICP queries from everyone
icp_access allow all


visible_hostname Linux_Proxy


httpd_accel_port 80
httpd_accel_host Linux_Proxy


httpd_accel_with_proxy off


httpd_accel_uses_host_header on

# Leave coredumps in the first cache dir
coredump_dir /var/spool/squid

请大家多多指教,谢谢了!
 楼主| 发表于 2005-11-13 10:11:44 | 显示全部楼层
怎么没有人关注呢,继续期待中.............................
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-13 14:22:13 | 显示全部楼层
不能沉底了,自已顶一下.............................
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-11-14 16:30:11 | 显示全部楼层
问题已找到了,是我多定义了一项无效的 casesensitive
回复 支持 反对

使用道具 举报

发表于 2005-11-15 15:57:06 | 显示全部楼层
Post by sncel516
问题已找到了,是我多定义了一项无效的 casesensitive


哈哈,unrecognised basic auth scheme parameter 'casesensitive'这就是问题所在呀。
回复 支持 反对

使用道具 举报

发表于 2005-11-16 10:23:35 | 显示全部楼层
你使用的squid认证和透明代理是不能共存的!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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