On Sat, Nov 7, 2009 at 5:35 PM, subhojit ojha <[email protected]>wrote:
> > i want to give access to specific user for blocked site such as orkut, > >gmail etc in sqid, how can i achieve it. > You can achieve this using ACL's ACLs can control certain criteria whether someone needs to authenticate, when the user is allowed to surf and which web sites can be accessed. See http://workaround.org/squid-acls; Try this, Create a list of banned sites and store it in let say /etc/squid/banned_urls Add the following lines in squid.conf acl blocked_sites url_regex -i "/etc/squid/banned_urls" acl banned src <ip1> <ip2> <ip3> acl allowed src <ip2> <ip2 <ip3> http_access allow allowed http_access deny blocked_sites Shortly, add a http_access rule allowing the users before the http_access block rule; -- SAGA _______________________________________________ To unsubscribe, email [email protected] with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
