Search squid archive

Block a set of sites for a set of users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

I'm using squid 2.6.18-1ubuntu3 on Ubuntu 8.04. So far I've configured it
to deny access to a set of sites for all users, during the period of 8am-8pm.
Now, I want to grant certain users 24/7 access to the restricted sites.
I've tried it with these ACLs:

acl academic01 time MTWHFAS 08:00-20:00
acl exempt src 192.168.2.127
acl media-sites url_regex -i (..........)
http_access deny media-sites academic

acl noaccess dstdomain "/etc/squid/noaccess.dat"
http_access allow noaccess exempt
http_access allow noaccess !academic01
http_access deny noaccess

They do grant the exempted user access, but the problem is, after 8pm the others
are still blocked from accessing the restricted sites.
Please help.

Best regards

Dayo

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux