Re: [squid-users] No_cache

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 13 May 2003 13:27:15 +0200

tis 2003-05-13 klockan 11.52 skrev Hawk:
> Hi Guys,
>
> i'm trying to avoid caching of my sites with this confs:
>
> acl QUERY dstdom_regex .mysite.it
> no_cache deny QUERY
> acl QUERY1 urlpath_regex mysite \?
> no_cache deny QUERY1
> acl QUERY2 urlpath_regex myothersite \?
> no_cache deny QUERY2
> acl QUERY3 urlpath_regex anothersiteagain \?
> no_cache deny QUERY3
> acl QUERY4 urlpath_regex hissite
> no_cache deny QUERY4
>
> but unfortunately doesn't work yet.
>
> Any ideas?

Should work, but are you absolutely sure urlpath_regex is the acl type
you want to use?

Given an URL like

   http://www.example.com/some/file

urlpath_regex only looks into the url-path component "/some/file".

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Tue May 13 2003 - 05:27:22 MDT

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