Search squid archive

RE: Wrong error page showing in browser

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

 



out of interest, when you issue a
squid -k reconfigure
does this disconnect any connected users?
I assume service squid restart will definitely disconnect users


----------------------------------------
> From: bodycare_5@xxxxxxxx
> To: contactdayo@xxxxxxxxx
> CC: squid-users@xxxxxxxxxxxxxxx
> Date: Mon, 8 Feb 2010 19:25:36 +0000
> Subject: RE:  Wrong error page showing in browser
>
>
> 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/
 		 	   		  
_________________________________________________________________
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/

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

  Powered by Linux