[SQU] acl question

From: Krasi Zlatev <krasice@dont-contact.us>
Date: Wed, 7 Mar 2001 01:16:44 -0800 (PST)

Is it possible to deny request that have sex in the
url, but only if the request is made from a specifi ip

Reading the users gide i see

"This example allows you to deny access to .com or
.net sites if the request is from the .za domain."

acl bad_dst_TLD dstdom_regex \.com$ \.net$
acl good_src_TLD srcdom_regex \.za$
http_access deny bad_dst_TLD
http_access allow good_src_TLD

So i change it to

acl bad url_regex -i sex
acl good src x.x.x.x/
http_access deny bad
http_access allow good

But it denies all requests not only the ones that com
from the abvoe ip address.

Thank you!


Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.

To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Wed Mar 07 2001 - 02:20:41 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:33 MST