Re: [squid-users] always_direct dont work

From: Schelstraete Bart <[email protected]>
Date: Mon, 11 Aug 2003 19:47:12 +0200

Jordi Vidal wrote:

>Hi,
>
> I'm trying to setup a rule to avoid Nagios from fetching web pages
>from the cache of my squid transparent proxy, forcing to check directly
>with remote server, but squids seems to ignore completely the rule.
>
> My question is: is the rule "always_direct" usable in a
>transparent proxy configuration?
>
> My squid version is 2.4.STABLE7. Relevant parts of squid.conf
>follows:
>
>httpd_accel_host virtual
>httpd_accel_port 80
>httpd_accel_with_proxy on
>httpd_accel_uses_host_header on
>cachemgr_passwd cebolla all
>acl local-servers dstdomain .wtn
>acl nagios browser check_http
>always_direct allow nagios
>always_direct allow local-servers
>
>
>

Hello,

You should use the no-cache attribute for this.
For example:;

acl local-servers dstdomain nagios.com
no-cache deny local-servers
...

rgrds,

        Bart

//
Received on Mon Aug 11 2003 - 11:47:17 MDT

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