Re: [squid-users] Wrong error page showing in browser

From: Dayo Adewunmi <contactdayo_at_gmail.com>
Date: Mon, 08 Feb 2010 20:47:51 +0100

Jenny Lee wrote:
> acl academic01 time MTWHF 08:00-18:00
> acl labs src 192.168.3.19-192.168.3.200
> http_access deny academic01 labs
> deny_info ERR_LAB_SCHEDULE labs
>
>
> should work. I believe last match triggers error message. You should not negate academic01.
>
> http_access deny academic01 labs
>
> Means:
>
> If the time is: MTWHF 08:00-18:00
>
> AND
>
> The IP is: 192.168.3.19-192.168.3.200
>
> DENY IT.
>
>
> squid -k reconfigure is sufficient.
>
> J
>
>
>
>> Date: Mon, 8 Feb 2010 18:46:46 +0100
>> From: contactdayo_at_gmail.com
>> To: squid-users_at_squid-cache.org
>> Subject: [squid-users] Wrong error page showing in browser
>>
>> Hi all
>>
>> I'm trying to deny proxy access for a block of IPs during a certain time
>> interval.
>> During that time interval when someone from that block tries to access
>> the internet
>> they should get a customized error msg in their browser: ERR_LAB_SCHEDULE.
>>
>> acl academic01 time MTWHF 08:00-18:00
>> acl labs src 192.168.3.19-192.168.3.200
>> http_access deny labs !academic01
>> deny_info ERR_LAB_SCHEDULE labs
>>
>> However, they keep getting the default error msg, and not the customized
>> one.
>> What am I missing here?
>>
>> Thanks
>>
>> Dayo
>>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/201469228/direct/01/
>
I'm negating academic01, because access should be denied outside that
timeframe.
Received on Mon Feb 08 2010 - 19:48:13 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 09 2010 - 12:00:04 MST