Re: no_cache command doesn't work

From: Ernest Yik <ernestyik@dont-contact.us>
Date: Wed, 19 Aug 1998 21:52:14 +0800 (HKT)

Hi Julien,

> In squid.conf :
> acl QUERY urlpath_regex tf1.fr
> no_cache deny QUERY

> In squid_access.log :
> 902484052.515 48 10.204.94.12 TCP_HIT/200 1785 GET http://www.tf1.fr/maillot.gif - NONE/-image/gif

        I've made the same mistake sometime ago. "urlpath_regex" will
only work on the "path" part of the URL, that is, "/maillot.gif" in the
above access.log line. You'll need some other acltype to achieve what
what you want to do (e.g. url_regex, dstdomain or dstdom_regex).

Rgds,
Ernest

-- 
 * Origin: VAXlab : Home of Ernest * Hong Kong * Email: ernestyik@cuhk.edu.hk
Received on Wed Aug 19 1998 - 06:53:57 MDT

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