RE: [SQU] acl question

From: Bruno Guerreiro <>
Date: Wed, 7 Mar 2001 11:12:07 -0000

This happens because you not crossing the good acl with the bad ACL
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


Bruno Guerreiro

-----Original Message-----
From: Krasi Zlatev []
Sent: Quarta-feira, 7 de Março de 2001 9:17
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

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
To unsubscribe, see
Received 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