Re: [squid-users] Will this work

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 19 Dec 2002 19:30:13 +0100

It will work, but you need to use correct syntax
"/etc/squid/nightusers" needs to be defined as an acl of the correct
type.

Also, you might want to allow users to belong to both groups.. making
the following more suitable denying users not beloning to the correct
group for the time in question:

acl nightusers ....
acl dayusers ...
acl daytime time 06:00-22:00
http_access deny day !dayusers
http_access deny !day !nightusers

Regards
Henrik

On Thursday 19 December 2002 10.28, Mahesh Kudva wrote:
> acl day time S M T W H F A 06:00-22:00
>
> http_access deny day "/etc/squid/nightusers"
> http_access deny !day "/etc/squid/dayusers"
>
> Will this work that nightusers will be restricted during 06:00 to
> 22:00 and the day users will be restricted the night time that is
> from 22:00 to 06:00 ????
>
> How can i show the time in the error pages to my users ?????
>
>
> Thanks in advance..
> Regards
>
> Mahesh S K
Received on Thu Dec 19 2002 - 11:29:50 MST

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