Hi Bart,

        Thank you for your reply, but it doesnt work in my version
of squid:

# squid -k reconfigure
2003/08/11 20:01:58| parseConfigFile: line 1717 unrecognized: 'no-cache 
deny local-servers'

        Following the docs, what I want to do is done with the directive
"always_direct allow <acl>". But it dont work :-m

Regards,
Jordi

On Mon, 11 Aug 2003, Schelstraete Bart wrote:

> 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
> >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
> 
> //
> 

Reply via email to