Search squid archive

Re: Wrong error page showing in browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx
To: squid-users@xxxxxxxxxxxxxxx
Subject:  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.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux