RE: [squid-users] ACL access

From: Bruno Guerreiro <bruno.guerreiro@dont-contact.us>
Date: Thu, 17 May 2001 17:30:06 +0100

Hi,
You must remove the [] from -i and try using urlpath_regex instead of
url_regex.
the [] are used in the squid.conf just to indicate that -i is optional, in
order to make the match case-insensitive.

Regards,

Bruno Guerreiro

-----Original Message-----
From: Andreas Nolte CCIE#5056 [mailto:anolte@ccietac.de]
Sent: quinta-feira, 17 de Maio de 2001 16:11
To: squid-users@squid-cache.org
Subject: [squid-users] ACL access

Dear Sirs,

i have setup SQUID and it works. The I setup an access-list to filter on
url_regex items. But this does'nt work correctly.

Access-list:
*****************************************************

#Recommended minimum configuration:
acl snmppublic snmp_community public
#
acl test_ops src 172.16.15.0/255.255.255.0
acl test2_ffm src 172.16.16.0/255.255.255.0
acl all src 0.0.0.0/0.0.0.0
#
acl badURL1 url_regex [-i] java
acl badURL2 url_regex [-i] mail
#
*****************************************************
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
#
# And finally deny all other access to this proxy
#
http_access deny badURL1
http_access deny badURL2
http_access allow test_ops
http_access allow test2_ffm
http_access deny all
*****************************************************

I want to filter on the letters "java" within an url and "mail" within an
url.
But it does not work. Also other urls like www.cisco.com or ieft.org are
blocked by this list.

Do you have an example which works correct ?

Best regards Andreas

 --
*************************************
Andreas Nolte
Manager Internet Projects
RSL COM Deutschland GmbH
Lyoner Str. 9
D-60528 Frankfurt

Phone: +49-69-669843-171
Mobile: +49-173-9443-171
mailto: a.nolte@rslcom.de
mailto: anolte@ccietac.de
http://www.rslcom.de
Received on Thu May 17 2001 - 10:31:40 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:10 MST