[squid-users] How To Allow Different Sites at Different Times

From: Manuel Beltrandelrio <mbr661_at_hotmail.com>
Date: Sun, 18 Oct 2009 06:57:29 -0400

Hello All,

Here is what I have in squid.conf, but is not working as intended. Timothy
can only access squid during timothys_funtime time MTWHF 15:00-15:30,
weekend_funtime time SA 10:00-12:00, and weekend_funtime time SA
17:00-19:00.

Somehow I'm missing timothys_schooltime time MTWHF 07:00-16:00

Can somebody tell me what I am missing here?

Thanks in advance!

##Allowed Websites:
acl whitelist_youngkids dstdomain "/usr/local/etc/squid/whitelist_youngkids"
acl whitelist_teens dstdomain "/usr/local/etc/squid/whitelist_teens"
acl whitelist_sos dstdomain "/usr/local/etc/squid/whitelist_sos"

##Allowed Times:
acl timothys_funtime time MTWHF 15:00-15:30
acl timothys_schooltime time MTWHF 07:00-16:00
acl weekend_funtime time SA 10:00-12:00
acl weekend_funtime time SA 17:00-19:00

##Allow User:
acl timothy proxy_auth timothy
 

http_access allow timothy timothys_schooltime whitelist_sos
http_access allow timothy timothys_funtime whitelist_youngkids
http_access allow timothy timothys_funtime whitelist_teens
http_access allow timothy weekend_funtime whitelist_youngkids
http_access allow timothy weekend_funtime whitelist_teens
http_access deny timothy all
Received on Sun Oct 18 2009 - 10:57:48 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 19 2009 - 12:00:04 MDT