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

From: Dayo Adewunmi <contactdayo_at_gmail.com>
Date: Mon, 08 Feb 2010 19:35:39 +0100

J. Webster wrote:
> Did you restart the squid server?
> I know when I tried this once before, I had to restart for it to pick up the custom error pages - maybe they are loaded into a cache at startup?
>
> ----------------------------------------
>
>> 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
>>
>
> _________________________________________________________________
> Tell us your greatest, weirdest and funniest Hotmail stories
> http://clk.atdmt.com/UKM/go/195013117/direct/01/
>
Restarting didn't help. I usually just reload. However, I've noticed if
I take off the !academic01
it works correctly.

Dayo
Received on Mon Feb 08 2010 - 18:36:04 MST

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