Não consigo fazer o squid funcionar com autenticação.
quando uso essa configuração o squid não funciona.
Deve ter alguma linha errada no proxy
Quando uso somente como proxy transparente funciona uma beleza.
com essas acls que estão comentadas. não sei o que está errado.
Agradeço quem pude me ajudar.
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin /?
no_cache deny QUERY
cache_mem 100 MB
maximum_object_size_in_memory 128 KB
maximum_object_size 512 MB
minimum_object_size 0 KB
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/cache/squid 300 16 64
cache_access_log /var/log/squid/access.log
refresh_pattern ^ftp: 15 20% 2280
refresh_pattern ^gopher: 15 0% 2280
refresh_pattern . 15 20% 2280
auth_param basic program /usr/bin/ncsa_auth /etc/squid/passwd
auth_param basic children 2
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
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
acl Safe_ports port 21
acl Safe_ports port 443 563
acl Safe_ports port 70
acl Safe_ports port 210
acl Safe_ports port 1025-65535
acl Safe_ports port 280
acl Safe_ports port 488
acl Safe_ports port 591
acl Safe_ports port 777
acl CONNECT method CONNECT
acl usuarios proxy_auth REQUIRED
#acl ip_do_diretor src 192.168.0.253
#acl horario time MTWHF 12:00-12:30
#acl sites url_regex "/etc/squid/sites"
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow usuarios
#http_access allow ip_do_diretor
#http_access allow horario
#http_access allow sites
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/cache/squid
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
cache_mgr [email protected]