rafaelvieira
(usa Debian)
Enviado em 21/03/2010 - 16:03h
Ola pessoal, estou com um probleminha básico no squid onde estou apenas tentando usa-lo como cache proxy. Já instalei no debian 5.0, configurei o squid.conf e aparentemente não deu nada de errado quando executo o squid -z (cria os diretorios de cache normalmente.)
Porém quando eu dou o /etc/init.d/squid start, ele inicia e logo em seguida ele cai. O processo Não fica estavel. Sou novato com squid e nao sei o que pode estar ocorrendo.
Segue meu arquivo de configuração, para quem puder me ajudar.
Vlw
#######################################################################3
acl redelocal src 192.168.1.0/24
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 # https, snews
acl SSL_ports port 873 # rsync
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
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
http_access allow redelocal
http_access deny all
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
http_reply_access allow all
icp_access allow all
#
#TAGS de CACHE
#
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
coredump_dir /var/spool/squid
error_directory /usr/share/squid/errors/Portuguese
##########################################################