[Debian] Configuracion Squid
Anibal Hernández Rodríguez
anibal11043 en hlg.jovenclub.cu
Lun Mar 17 09:06:09 PDT 2008
Tengo montado el squid y me funciona bien pero solo me acepta la primera
pagina de un sitio. No se que podra ser. Aqui les mando el fichero de
config.
Gracias de antemano...
#####SQID Configuration#####
http_port 3128
cache_peer 192.168.22.66 parent 3128 3130 no-delay login=PASS
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_mem 100 MB
maximum_object_size_in_memory 1 MB
cache_dir ufs /var/spool/squid 1024 16 256
access_log /var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
pid_filename /var/run/squid.pid
hosts_file /etc/hosts
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 purge method PURGE
acl CONNECT method CONNECT
acl max_ip max_user_ip 1
acl max_conex maxconn 2
acl time-fs time SMA 10:00-23:00
acl time-dsd time TWHF 12:00-14:00
acl time-dsn time TWHF 16:00-20:00
acl red-jcnicaro src 192.168.11.40-192.168.11.60/32
http_access allow localhost
http_access allow manager localhost
http_access allow purge localhost
http_access allow red-jcnicaro
http_access allow time-fs
http_access allow time-dsd
http_access allow time-dsn
http_access allow max_conex
http_access allow max_ip
http_access deny manager
http_access deny purge
http_access deny !max_ip !max_conex !time-fs !time-dsd !time-dsn
http_access deny !red-jcnicaro
http_reply_access allow all
icp_access allow all
cache_effective_user proxy
cache_effective_group proxy
visible_hostname server
cache_mgr anibal11043 en hlg.jovenclub.cu
store_avg_object_size 100 MB
coredump_dir /var/spool/squid
Más información sobre la lista de distribución Debian