HI all, I have a simple question, I have some problems to configure an acl
to access sites just in some hours
I want to block some urls and some extensions in job hours, my squid.conf is
like
acl all src 0.0.0.0/0.0.0.0
acl domainusers proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl purge method PURGE
acl CONNECT method CONNECT
acl jobtime time 08:00-20:00
acl banned urlpath_regex \.mp3$ \.rm$ \.ram$
acl urlbanned dstdomain "/etc/squid/rules/urlbanned"
http_access allow manager localhost
http_access allow purge localhost
http_access deny purge
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow urlbanned !jobtime
http_access allow banned !jobtime
http_access allow domainusers
http_access deny all
in file /etc/squid/rules/urlbanned I have
.audiogalaxy.com
.mp3.com
well......is doesn't work
thanks in advance
greetings, mauricio
Received on Thu Nov 08 2001 - 06:57:51 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:58 MST