yes .... it works great ... thank you
----- Original Message -----
From: "Kinkie" <gkinkie@gmail.com>
To: "Kenny Lee" <kenny.lee@esmtt.com>
Cc: <squid-users@squid-cache.org>
Sent: Thursday, March 27, 2008 7:09 PM
Subject: Re: [squid-users] Access Control (Need Help)
> Seems reasonable.. nothing beats "just trying it out" tho... :)
>
> Kinkie
>
> On Thu, Mar 27, 2008 at 8:14 AM, Kenny Lee <kenny.lee@esmtt.com> wrote:
>> hi all,
>>
>> sorry ... typo error ... what i mean is on Friday 12pm to 2pm, i wan to
>> allow all users included (192.168.1.10) able to access to all website.
>>
>> Regards,
>> Kenny
>>
>>
>>
>> ----- Original Message -----
>> From: "Kenny Lee" <kenny.lee@esmtt.com>
>> To: <squid-users@squid-cache.org>
>> Sent: Thursday, March 27, 2008 2:58 PM
>> Subject: [squid-users] Access Control (Need Help)
>>
>>
>> > hi all,
>> >
>> > i wan to allow a user(192.168.1.10) able to access to ONLY the website
>> > "domain.com" at any time, but while on Friday 12pm to 2pm, i wan to
>> allow
>> > all users included (192.168.1.1) able to access to all website.
>> >
>> > can i set it as below settings, and can it works?
>> >
>> > squid.conf
>> > ========
>> >
>> > acl ip_all src 192.168.1.0/24
>> > acl ip_ctl src 192.168.1.10
>> > acl website dstdomain .domain.com
>> > acl day_ctl time F 12:00-14:00
>> >
>> > http_access allow website ip_ctl
>> > http_access allow day_ctl ip_all
>> > http_access deny all
>> > =========
>> >
>> > Thank you
>> >
>> > Regards,
>> > Kenny
>> >
>>
>>
>
>
>
> --
> /kinkie
>
Received on Thu Mar 27 2008 - 20:58:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Apr 01 2008 - 13:00:05 MDT