Доброго времени суток всем!
Пробема:
SqStat error
Error (1): Cannot get data. Server answered: HTTP/1.0 407 Proxy Authentication Required
Вот конфиг сквида:
Код:
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
dns_nameservers bbb.bbb.bbb.bbb
hosts_file /etc/hosts
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/ncsa.sams
auth_param basic children 5
auth_param basic realm test
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl _sams_4b0b62de69469 src "/etc/squid/4b0b62de69469.sams"
acl _sams_4a6fb610cde1a proxy_auth "/etc/squid/4a6fb610cde1a.sams"
acl _sams_4ade952312677 proxy_auth "/etc/squid/4ade952312677.sams"
acl _sams_imported proxy_auth "/etc/squid/imported.sams"
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 to_me_local dst aaa.aaa.aaa.aaa/32
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow _sams_4b0b62de69469
http_access allow _sams_4a6fb610cde1a
http_access allow _sams_4ade952312677
http_access allow _sams_imported
http_access allow manager localhost
http_access allow manager to_me_local
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr webmaster
cache_effective_group proxy
visible_hostname SERVER
cachemgr_passwd xxx all
delay_pools 4
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_class 4 2
delay_access 1 allow _sams_4a6fb610cde1a
delay_access 1 deny all
delay_parameters 1 12582912/12582912 2097152/2097152
delay_access 2 allow _sams_4ade952312677
delay_access 2 deny all
delay_parameters 2 524288/524288 524288/524288
delay_access 3 allow _sams_4b0b62de69469
delay_access 3 deny all
delay_parameters 3 524288/524288 524288/524288
delay_access 4 allow _sams_imported
delay_access 4 deny all
delay_parameters 4 524288/524288 262144/262144
coredump_dir /var/spool/squid
redirect_program /usr/bin/samsredir
Пробема:
SqStat error
Error (1): Cannot get data. Server answered: HTTP/1.0 407 Proxy Authentication Required
Вот конфиг сквида:
Код:
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_mem 64 MB
cache_dir ufs /var/spool/squid 100 16 256
access_log /var/log/squid/access.log squid
dns_nameservers bbb.bbb.bbb.bbb
hosts_file /etc/hosts
auth_param basic program /usr/lib/squid/ncsa_auth /etc/squid/ncsa.sams
auth_param basic children 5
auth_param basic realm test
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl _sams_4b0b62de69469 src "/etc/squid/4b0b62de69469.sams"
acl _sams_4a6fb610cde1a proxy_auth "/etc/squid/4a6fb610cde1a.sams"
acl _sams_4ade952312677 proxy_auth "/etc/squid/4ade952312677.sams"
acl _sams_imported proxy_auth "/etc/squid/imported.sams"
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 to_me_local dst aaa.aaa.aaa.aaa/32
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow _sams_4b0b62de69469
http_access allow _sams_4a6fb610cde1a
http_access allow _sams_4ade952312677
http_access allow _sams_imported
http_access allow manager localhost
http_access allow manager to_me_local
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
cache_mgr webmaster
cache_effective_group proxy
visible_hostname SERVER
cachemgr_passwd xxx all
delay_pools 4
delay_class 1 2
delay_class 2 2
delay_class 3 2
delay_class 4 2
delay_access 1 allow _sams_4a6fb610cde1a
delay_access 1 deny all
delay_parameters 1 12582912/12582912 2097152/2097152
delay_access 2 allow _sams_4ade952312677
delay_access 2 deny all
delay_parameters 2 524288/524288 524288/524288
delay_access 3 allow _sams_4b0b62de69469
delay_access 3 deny all
delay_parameters 3 524288/524288 524288/524288
delay_access 4 allow _sams_imported
delay_access 4 deny all
delay_parameters 4 524288/524288 262144/262144
coredump_dir /var/spool/squid
redirect_program /usr/bin/samsredir