Re: [squid-users] url_regex and .com

From: Ilker Gokhan <ilker.gokhan@dont-contact.us>
Date: Mon, 13 Jan 2003 19:54:50 +0200

Pavol Eisenberg wrote:
> Hi,
>
> I would like to deny downloading .com files via squid. When I set
> directive url_regex -i \.com$ squid also deny access to domains ending
> with .com (e.g. google.com)

Not sure bu once try:

acl COM urlpath_regex -i \.com$
acl NoCOM dstdomain .com

http_access allow NoCOM
http_access deny COM

Best regards,
Ilker G.
--------
"Peace at home, peace at the world" K.Ataturk
Received on Mon Jan 13 2003 - 10:55:11 MST

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