- 论坛徽章:
- 0
|
auth_param basic program C:\squid\libexec\ncsa_auth.exe C:\squid\libexec\password.txt
auth_param basic children 5
auth_param basic realm My Proxy Caching Domain
acl outsideip proxy_auth REQUIRED
http_access allow outsideip
我的 squid 装在c盘
password.txt 里面是用apache下的 htpasswd
通过以下两个命令生成的
C:\squid\libexec>htpasswd -b password.txt a 123
Automatically using MD5 format.
Adding password for user a
C:\squid\libexec>htpasswd -b password.txt b 123
Automatically using MD5 format.
Adding password for user b
然后在客户端输入用户名 a 和 123 的时候
连续输了几次
最后提示信息是
While trying to retrieve the URL: http://altfarm.mediaplex.com/ad/ck/5154-31902-3840-2
The following error was encountered:
Cache Access Denied.
Sorry, you are not currently allowed to request:
http://altfarm.mediaplex.com/ad/ck/5154-31902-3840-2
from this cache until you have authenticated yourself.
You need to use Netscape version 2.0 or greater, or Microsoft Internet Explorer 3.0, or an HTTP/1.1 compliant browser for this to work. Please contact the cache administrator if you have difficulties authenticating yourself or change your default password.
大家帮帮我 谢谢%………………
[ 本帖最后由 爱是福 于 2006-2-6 15:50 编辑 ] |
|