marcosmilk
(usa Debian)
Enviado em 05/03/2011 - 16:48h
Boa tarde Comunidade.
Estou configurando o squid(2.7) para autenticação e o serviço nao inicializa quando coloco a linha
acl password proxy_auth REQUIRED
Dá o seguinte erro no log
"Bungled squid.conf line 43: acl password proxy_auth REQUIRED"
Segue o arquivo squid.conf
### AUTENTICACAO=======================================================
authenticate_program /usr/bin/ncsa_auth /etc/squid/passwd
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
### DEFINICAO DE PORTA E NOME
http_port 3128
visible_hostname localhost
# Configuração do cache
cache_mem 64 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 300 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/cache/squid 2048 16 256
# Localização do arquivo de log do Squid
cache_access_log /var/log/squid/access.log
# Regras gerais
acl all src 0.0.0.0/0.0.0.0
http_access allow all
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
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, news
acl Safe_ports port 70 #gopher
acl Safe_ports port 210 #wais
acl Safe_ports port 1025-65535 #unregistred 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 901 #swat
acl purge method PURGE
acl CONNECT method CONNECT
acl password proxy_auth REQUIRED
http_access allow password
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
Grato pela ajuda...