[squid-users] time acl

From: Mauricio Duran <mauricio.duran@dont-contact.us>
Date: Fri, 9 Nov 2001 15:33:09 -0300

Please, someone to help me!
I have a simple question, I have some problems to configure an acl
to access sites just in some hours, I read the FAQs but for something, my
rules not work

I want to block some urls and some extensions in job hours, my squid.conf is

acl all src
acl domainusers proxy_auth REQUIRED
acl manager proto cache_object
acl localhost src
acl SSL_ports port 443 563
acl Safe_ports port 80 21 443 563 70 210 1025-65535
acl purge method PURGE
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

well......the rules not work

thanks in advance

greetings, mauricio
Received on Fri Nov 09 2001 - 11:32:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:01 MST