I know this is a no-brainer for most of you, and an faq, but I'm still
having a little difficulty figuring out how to allow access to some, yet
deny others.
If I want to deny access for an expression list "blocklist" (excluding
"noblocklist"), yet allow one person with an IP# 10.1.2.3 to access
everything, is the following correct?
http_access allow 10.1.2.3
acl block url_regex "/usr/local/squid/etc/blocklist"
acl noblock url_regex "/usr/local/squid/etc/noblocklist"
http_access deny block !noblock
http_access all
That's right, isn't it?
Also, to "activate" the new squid.conf, I do 'squid -k reconfigure' ?
In case it matters, squid 2.2 running on SCO OSR5.
TIA for whomever takes the trouble to confirm (or find fault with) the above.
Nathan
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Fri Jan 19 2001 - 13:32:18 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:57:30 MST