You are not logged in.
Hi All,
I am wanting to limit my daughter's access to facebook for certain hours of the day, I tried the following acl lines in squid.conf
but it doesn't seem to work, the site does not open between 8pm and 8:30pm.
# FaceBook
acl facebook url_regex .facebook.com
acl daughter src 192.168.0.30
acl daughter_facebook_hours time D 20:00-20:30
http_access deny daughter facebook !daughter_facebook_hours
What is wrong with that picture?
Thanks.
Last edited by bmentink (2012-06-10 09:53:36)
Offline
Try it as follows:
http_access allow daughter facebook daughter_facebook_hours
http_access deny daughter facebook
Burninate!
Offline
Try it as follows:
http_access allow daughter facebook daughter_facebook_hours http_access deny daughter facebook
Thanks, but I found that I had inadvertently put a "D" for date in the line "acl daughter_facebook_hours time D 20:00-20:30"
Removing the D fixed it.
You way looks a bit cleaner though ..
Cheers,
B
Offline