[SQU] access controls (faq?)

From: Nathan Kahn <nathan@dont-contact.us>
Date: Fri, 19 Jan 2001 15:29:10 -0500

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# to access
everything, is the following correct?

http_access allow
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.


To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received 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