Dayo Adewunmi
Mon, 08 Feb 2010 11:51:47 -0800
Jenny Lee wrote:
I'm negating academic01, because access should be denied outside that timeframe.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 labsshould 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. JDate: Mon, 8 Feb 2010 18:46:46 +0100 From: contactd...@gmail.com To: squid-users@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? ThanksDayo_________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/201469228/direct/01/