||02-04-2011 09:15 AM
Squid time ACL problem
I've got a squid setup with the relevant lines as follows:
acl blockus_sites url_regex "/etc/squid/block-us-sites.txt"
acl blockustime_prelunch time 07:30-12:00
acl blockustime_postlunch time 13:00-16:15
acl blockus proxy_auth "/etc/squid/block-us.txt"
http_access deny blockus !blockus_sites blockustime_prelunch
http_access deny blockus !blockus_sites blockustime_postlunch
http_access allow localhost
http_access deny all
http_reply_access allow all
Essentially I want the users in the blockus ACL to only
have access to the websites listed in blockus_sites from 07:30-12:00 and 13:00-16:15. Unfortunately those users are unable to browse anything ever.
What am I doing wrong?
Any input would be hugely appreciated!