Re: [squid-users] access control by IPs, dstdomain and time

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 18 Dec 2001 19:08:50 +0100

Then you need to combine the domain check with time..

acl afternoon time MTWHF 17:00-24:00
acl weekend time AS
http_access deny ip_zona1 !afternoon !weekend !domain_zona1

or

acl workingday time MTWHF 00:00-17:00
http_access deny ip_zona1 workingday !domain_zona1

Regards
Henrik Nordström
MARA Systems AB

"Beto Ingar P." wrote:
>
> I defined an IP group to access certain web pages.
>
> acl ip_zona1 src "/etc/squid/ip_zona1"
> acl domain_zona1 dstdomain "/etc/squid/domain_zona1"
> http_access deny ip_zona1 !domain_zona1
>
> I want this group can access all the web between MTWHF 17:00-24:00 and
> weekends. Can you help me with it.
>
> Excuse my English. Thank you.
>
> Alberto Ingar
Received on Tue Dec 18 2001 - 11:09:20 MST

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