Search squid archive

Re: [squid-users] setup url_regex for individual users

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

 




> How do we assign url_regex which will allow only
> specified sites in the
> url_regex; and only to effect particular machine (IP
> address)

For managing sites then you have to use dstdomain or
dstdom_regex type of acl (not Acl). 

 
> Acl user1 src 192.168.100.3
> Acl sites url_regex .redhat.com .oracle.com .sun.com
> 
> http_access allow user1 sites
> 

Try as like as, 

acl user1 src 192.168.100.3/32 
# generally ip-address is good to have netmask
acl sites dstdomain .redhat.com .oracle.com .sun.com
http_access allow user1 sites
http_access deny all

It will allow user1 only to access redhat, oracle and
sun sites. Others will be restricted to access WEB.

Best Regards,
Squid Runner Team
squidrunner_dev at yahoo dot com

SquidRunner - An Automatic Squid Builder 
Web: http://freshmeat.net/projects/squidrunner/
Support: runnersupport at gmail dot com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

  Powered by Linux