Networking Forums

Networking Forums > Computer Networking > Linux Networking > Squid 2.5 to 2.6

Reply
Thread Tools Display Modes

Squid 2.5 to 2.6

 
 
Alessandro
Guest
Posts: n/a

 
      02-26-2008, 04:27 PM
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 (E-Mail Removed)

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


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid woody Linux Networking 9 08-25-2011 05:37 AM
squid Simon Smith Linux Networking 3 03-10-2008 07:23 AM
Squid Simon Dean Linux Networking 0 12-05-2003 02:34 PM
squid's DNS * Tong * Linux Networking 0 11-04-2003 03:42 PM
Intermittent Squid problem, no responce from squid Graeme Hinchliffe Linux Networking 1 10-30-2003 11:51 AM



1 2 3 4 5 6 7 8 9 10 11