RE: [squid-users] ACLs

From: Patrick G. Victoriano <pgvictoriano_at_ftcp.ten.fujitsu.com>
Date: Mon, 26 May 2008 20:30:21 +0800

Hi,

Thanks for the reply

I tried your config but it didn't work with me.
Any suggestions?

Thanks

Trik

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Monday, May 26, 2008 8:16 PM
To: Patrick G. Victoriano
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] ACLs

Patrick G. Victoriano wrote:
> Good Day.
>
> Can someone help me how to configure this setup in the ACLs.
> I have a user (192.168.1.5) which I want to have access to a particular site (friendster.com) at a particular time (12:00-13:00).
> This means that user 192.168.1.5 can only browse friendster.com during 12:00 nn to 1:00 PM.
> Is this possible? If yes, how would the config would look like.
> Please help.
>

acl person src 192.168.1.5
acl lunch time 12:00-13:00
acl friendster dstdomain .friendster.com

http_access allow person lunch friendster
http_access deny person !lunch friendster

Amos

-- 
Please use Squid 2.6.STABLE20 or 3.0.STABLE6
Received on Mon May 26 2008 - 12:30:27 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT