Search squid archive

[squid-users]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm sorry for my simple questions but i'm going mad. I'm trying to force squid to give fresh copy of a simple .htm page after an amount of time set by me.
I set this pattern


refresh_pattern \.htm$ 2 100% 3 ignore-reload override-lastmod reload-into-ims override-expire

So i expect that if i modify my htm page squid has to return me the correct copy after 2 minutes (from the time i modify the page) even if i reload the page. what happens is that squid returns me the correct page in a time not to be expected. I' m using Squid2.5-Stable9 in accelerated mode as you cane see in my squid.conf file

http_port 3128
http_port 80
http_port 8180

icp_port 0

htcp_port 0

#hierarchy_stoplist cgi-bin ?

#acl QUERY urlpath_regex cgi-bin \?
#no_cache deny QUERY

log_ip_on_direct off

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off

refresh_pattern \.htm$ 2 50% 3 ignore-reload override-lastmod reload-into-ims override-expire

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
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

http_access allow manager localhost
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access allow all

http_reply_access allow all

cache_effective_user villari

visible_hostname Villari

httpd_accel_host 192.168.11.243
httpd_accel_port 8080

httpd_accel_single_host on

httpd_accel_with_proxy off

httpd_accel_uses_host_header on

forwarded_for off

reload_into_ims off

offline_mode off

Is it my way of thinking bad? Thank you very much!

Matteo Villari


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux