Re: access control with time

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 27 Feb 1999 12:30:31 +0100

JinSoo Seo wrote:

> squid.conf:
> http_access deny security beforenoon afternoon
> http_access allow all
>
> It does not worked as I intended.

That is because time can never match both ranges of 08:30-12:30 and
13:30-18:00 at the same time (unless you live in a very wierd universe).

Use the following http_access lines instead and things should work as
you expect them to:
http_access deny security beforenoon
http_access deny security afternoon

---
Henrik Nordstrom
Spare time Squid hacker
Received on Sat Feb 27 1999 - 16:32:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:46 MST