Re: Fwd: [squid-users] URL redirection in offline mode

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 22 Nov 2010 00:43:03 +0000

On 21 Nov 2010 10:07:00 +0100, "Helmut Hullen" <Hullen_at_t-online.de> wrote:
> Hallo, Amos,
>
> Du meintest am 19.10.10:
>
>> Turn of "offline_mode" if you have it set in squid.conf. Despite the
>> name, it only causes aggressive caching to be done.
>
>
> But what shall I do with a squid installation in a boarding school
> ("Internat", many pupils have their own computer(s)) where the
> connection into the internet is cut from midnight to 6:00?
>
> "squid" mourns on and on that the DNS is unreachable (and that's right
> ...).
>
> Viele Gruesse!
> Helmut

Make yourself a custom error page template explaining the situation. Then
use a deny_info line to supply it when a time-based ACL at the top of the
http_access list matches your offline times. No DNS or external network
connection involved.

Amos
Received on Mon Nov 22 2010 - 00:43:05 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 23 2010 - 12:00:02 MST