Re: [squid-users] Restricting the access to a particular client by hours for 5 days a week

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Mon, 25 Feb 2002 08:32:02 +1000 (EST)

Hi,

On Fri, 22 Feb 2002, Deshwal Chand wrote:

> Hi All,
>
> I wanna set the acl for a particular client machine in such a way that the
> machine should be allowed from Monday to Friday by 9:00 AM to 5:30 PM.

Read squid.conf. All the information you need is in there. Also, there's a
FAQ and mailing list archives available from www.squid-cache.org.

You need something like

acl workday MTWHF 09:00-17:00
acl client src <insert-ip-here>

htp_access deny client !workday

Colin
Received on Sun Feb 24 2002 - 15:33:27 MST

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