RE: [squid-users] ACLs

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

Hi,

Its working now.

First I place your config at the bottom of the http_access portion before the http_access deny all. This didn't work.
But,
When I place your config on the top of the http_access portion, it worked.

Thank you for your help... squid guru. =D

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

Patrick G. Victoriano wrote:
> Hi,
>
> Thanks for the reply
>
> I tried your config but it didn't work with me.
> Any suggestions?

What did you mean by didn't work? was it rejected by squid? failed to match?

Those ACL are the same for both Squid-2 and Squid-3. The only failure
expected is possibly a non-match when they are inserted relative to
other http_access permissions.

Amos

> -----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 - 13:37:14 MDT

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