Re: [squid-users] Not cache same URL.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 12 Jun 2003 21:32:54 +0200

On Thursday 12 June 2003 19.23, Ampugnani, Fernando wrote:

> Anybody knows how I can tell squid that no cache same url. For
> example www.macdonalds.com.ar , but I put this rules and donīt
> work. acl nocache url_regex ^http://www.mcdonalds.com.ar
> no_cache deny nocache

Should work, except that url_regex is not a very good acl type to use,
and the pattern you have given is not a regex pattern (but still
works acceptable for your use).

What do you get in access.log?

Try this instead

acl nocache_sites dstdomain .mcdolands.com.ar
no_cache deny nocache_sites

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Jun 12 2003 - 13:31:29 MDT

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