erro na autenticacao squid

1. erro na autenticacao squid

Sony Guerrero
sony guerrero

(usa Fedora)

Enviado em 21/08/2008 - 11:17h

Eu tentei autenticar o squid, mas deu problema, olha so, o meu squid.conf ta assim

#authenticate_program /usr/bin/ncsa_auth /etc/squid/passwd
#acl usuarios proxy_auth "/etc/squid/usuarios"


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 # https
acl SSL_ports port 563 # snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 Safe_ports port 631 # cups
acl Safe_ports port 873 # rsync
acl Safe_ports port 901 # SWAT
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
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
icp_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
access_log /var/log/squid/access.log squid
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
extension_methods REPORT MERGE MKACTIVITY CHECKOUT
hosts_file /etc/hosts
coredump_dir /var/spool/squid
visible_hostname maxserver.localhost
cache_access_log /var/log/squid/access.log
cache_dir ufs /var/squid/cache 100 16 256
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log


http_access allow usuarios
#http_access allow all
http_access deny all



e o erro q da e o seguinte



root@maxserver:~# /etc/init.d/squid restart
* Restarting Squid HTTP proxy squid 2008/08/20 20:07:06| parseConfigFile: line 1 unrecognized: 'authenticate_program /usr/bin/ncsa_auth /etc/squid/passwd'
2008/08/20 20:07:06| Invalid Proxy Auth ACL 'acl usuarios proxy_auth "/etc/squid/usuarios"' because no authentication schemes are fully configured.
FATAL: Bungled squid.conf line 2: acl usuarios proxy_auth "/etc/squid/usuarios"
Squid Cache (Version 2.6.STABLE18): Terminated abnormally.



Alguem saberia me dizer oque ta errado


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts