Hi,
This happens because you not crossing the good acl with the bad ACL
information.
Are the IP's that you want to deny in the good ACL?
If so try this:
http_access deny bad good
If not:
http_access deny bad !good
Regards,
Bruno Guerreiro
-----Original Message-----
From: Krasi Zlatev [mailto:krasice@yahoo.com]
Sent: Quarta-feira, 7 de Março de 2001 9:17
To: squid-users@ircache.net
Subject: [SQU] acl question
Is it possible to deny request that have sex in the
url, but only if the request is made from a specifi ip
address.
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/255.255.255.255
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!
=====
krasi@freeshell.org
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Mar 07 2001 - 04:16:05 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:33 MST