Search squid archive

Re: Fwd: URL redirection in offline mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 Nov 2010 10:07:00 +0100, "Helmut Hullen" <Hullen@xxxxxxxxxxx> 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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux