ons 2007-05-30 klockan 16:34 +0700 skrev chowalit.lab Chowalit Lab
Linux:
> Hi all,
> In my squid box. I have 2 groups of user to access specific
> permission. In first group , they can access only one IP address. In
> second group, they can access from two difference IP address. How to
> define acl and http_access to support my rule?
http_access deny group1 max_1_ip
http_access allow group1
http_access deny group2 max_2_ip
http_access allow group2
or alternatively if you don't need to be able to use deny_info
http_access allow group1 !max_1_ip
http_access allow group2 !max_2_ip
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT