martinez.df
(usa Debian)
Enviado em 18/03/2008 - 10:23h
Olá pessoALL. Por que será que algumas páginas .ASP não carregam corretamente com o squid? Agradeço a colaboração, grande abraço.
Esse é o meu squid.conf:
http_port 3128
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
cache_swap_low 90
cache_swap_high 95
maximum_object_size 4096 KB
minimum_object_size 0 KB
maximum_object_size_in_memory 32 KB
cache_dir ufs /var/spool/squid3 1800 128 256
cache_dir ufs /var1/spool/squid3_1 2000 128 256
access_log /var/log/squid3/access.log
cache_log /var/log/squid3/cache.log
cache_store_log none
emulate_httpd_log off
debug_options ALL,1
ftp_user webmaster@empresa.com.br
ftp_passive on
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
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 CONNECT method CONNECT
acl redelocal src 192.168.200.0/24
acl dominios_permitidos url_regex -i "/etc/squid3/regras/dominios_permitidos"
acl dominios_proibidos dstdomain "/etc/squid3/regras/dominios_proibidos"
acl downloads_proibidos urlpath_regex -i "/etc/squid3/regras/downloads"
acl palavras_proibidas url_regex -i "/etc/squid3/regras/palavras_proibidas"
#acl portas_bloqueadas port "/etc/squid3/regras/portas_bloqueadas"
#acl mimes_proibidos_req req_mime_type "etc/squid3/regras/mimes_proibidos"
#acl mimes_proibidos_rep rep_mime_type "etc/squid3/regras/mimes_proibidos"
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#http_reply_access deny mimes_proibidos_req
#http_reply_access deny mimes_proibidos_rep
http_access deny downloads_proibidos
http_access allow dominios_permitidos
http_access deny dominios_proibidos
http_access deny palavras_proibidas
#http_access deny portas_bloqueadas
http_access allow redelocal
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
cache_mgr webmaster@empresa.com.br
cache_effective_user proxy
cache_effective_group proxy
visible_hostname squid3
dns_testnames zeus.empresa.local
error_directory /usr/share/squid3/errors/Portuguese
coredump_dir /var/spool/squid3