I have the following config working so that it allows the use of an ID
from only a certain IP number (thanks to squidrunner for that) and then
outputs a custom error message when the ID is use from another ip number
but now I need to expand the use of the ID to a few more computers. I
have seen that you can use a file and populate your variable into that.
Would the new config work as that ACL?
Original Config
acl USERS proxy_auth REQUIRED
acl dlid proxy_auth temp
acl comp src "ip NUMBER"
http_access deny dlid !comp
http_access allow USERS !dlid
http_access deny all
deny_info ERR_USERID_RESTRICTED comp
New Config
acl USERS proxy_auth REQUIRED
acl dlid proxy_auth temp
acl comp src "./ip.txt"
http_access deny dlid !comp
http_access allow USERS !dlid
http_access deny all
deny_info ERR_USERID_RESTRICTED comp
IP.txt
Ip Number
Ip Number
Received on Mon Sep 12 2005 - 03:25:42 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Oct 01 2005 - 12:00:03 MDT