Hi Everyone,

Why this configuration of my reverse proxy work correctly with Squid 2,5 and
not with Squid 2.6

Thanks.



squid.conf
************************************************** ******

http_port 80
icp_port 0

acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY # Questa ACL fa in modo che gli oggetti in questione
non vengano registrati nella cache

cache_mem 96 MB # memoria max utilizzata dal processo che amministra la
cache
maximum_object_size 8192 KB # Grandezza massima di un oggetto registrato
nella cache

cache_dir ufs /var/spool/squid 100 16 256
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log /var/log/squid/store.log
mime_table /usr/share/squid/mime.conf
pid_filename var/run/squid.pid

refresh_pattern ^ftp: 1440 20% 10080 # direttive che specificano
ogni quando un pattern va riverificato
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 locallan src 192.168.0.0/255.255.255.0
acl to_localhost dst 127.0.0.0/8
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, 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 CONNECT method CONNECT

acl ftpblock url_regex -i \.mp3$ \.asx$ \.avi$ \.mpeg$ \.mpg$ \.qt$ \.ram$
\.rm$ # fa in modo che non vengano fatti scaricare i file di quelle
desinenze

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow locallan
http_access deny ftpblock
http_access allow all

icp_access allow all
miss_access allow all

cache_mgr ale@gmail.com

visible_hostname proxy.virtual.net

#Configurazione Reverse-Proxy
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_single_host off
httpd_accel_with_proxy on
httpd_accel_uses_host_header on


etc/host
************************************************** ****************

127.0.0.1 localhost
192.168.0.15 PROXY-FIREWALL-DEB.ALEWRG PROXY-FIREWALL-DEB

192.168.0.58 www.sito1.it
192.168.0.57 www.sito2.it
192.168.0.58 www.sito3.it
192.168.0.58 www.sito4.it
192.168.0.59 www.sito5.it