Re: deny_info problem

From: Danny Sinang <danny@dont-contact.us>
Date: Sun, 31 Jan 1999 09:35:13 +0800

Hi Henrik,

deny_info now works after I removed the "all" from "http_access deny sex
all" . Thanks.

How can I include or state in my custom "Access Denied" page the site that
was just blocked ?

- Danny Sinang

-----Original Message-----
From: Henrik Nordstrom <hno@hem.passagen.se>
To: Danny Sinang <danny@uplink.com.ph>
Date: Sunday, January 31, 1999 9:15 AM
Subject: Re: deny_info problem

>
>In your case there is two problems:
>1. The page returned must be a Squid error page.
>2. deny_info only checks the last acl, which in your configuration is
>all.
>
>---
>Henrik Nordstrom
>Spare time Squid hacker
>
>Danny Sinang wrote:
>>
>> Sir,
>>
>> I need to show a customer "Access Denied" message whenever a user is
blocked
>> by my Squid 1.1.8 from accessing a site specified in my "/etc/squid/sex"
>> file.
>>
>> Here's a portion of my squid.conf :
>>
>> ~~~~~~~~~~~~~
>>
>> acl sex url_regex "/etc/squid/sex"
>> http_access deny sex all
>>
>> deny_info http://www.uplink.com.ph/blockmsg.asp sex
>>
>> ~~~~~~~~~~~~~
>>
>> I tried accessing the blocked sites and got the default "Access Denied"
>> page of Squid. Can you tell me what else I missed ?
>>
>> Do I need to have an external redirector program like Squirm before I can
>> get deny_info to work ?
>>
>> - Danny Sinang
Received on Sat Jan 30 1999 - 18:02:46 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:11 MST