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

From: squidrunner team <[email protected]>
Date: Wed, 20 Apr 2005 23:46:47 -0700 (PDT)

> 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
Received on Thu Apr 21 2005 - 00:46:51 MDT

This archive was generated by hypermail pre-2.1.9 : Sun May 01 2005 - 12:00:04 MDT