Re: [squid-users] Multiple Gateway

From: Robert Collins <robert.collins@dont-contact.us>
Date: 21 Aug 2001 16:36:59 +1000

On 21 Aug 2001 12:30:16 +0545, binaya@Mos.com.np wrote:
> Hi
>
> Our system is such that within office hours ie; from 9:00- 5:00 ;
> users are not allowed to get to net directly . But they can get to it
> via a proxy server running squid; whose parent is another proxy server
>
> I would like to configure the proxy server running squid such
> that within office hours; it forwards its requests to its parent proxy
> and at other times (when it can go to net directly ) it forwards
> requests directly
>
> Well we can do it with two config files (one with forwarding
> requests to parent and other without it ) and
> reload the config file automatically at need times. But I would prefer
> to have both in one configuration file
>
> Suggestions are warmly welcomed

Use time acls in combination with cache_peer_access rules

See squid.conf.default and the squid faq for detail on those two things.

Rob

> Binaya
>

-- 
Received on Tue Aug 21 2001 - 00:49:15 MDT

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