Re: [squid-users] Forbiden

From: Dominique Bagnato <bagnato@dont-contact.us>
Date: Fri, 26 May 2006 13:09:04 -0400

Thank you,
But the forbiden users are from outside my network. They could come from
what ever domain and try to use the proxy from outside.

Bill Jacqmein wrote:

> Salute Dominique,
>
> abcd.txt will be drive by url_regex given the definition
> provided
> lines like .gator.com should work
> http://www.squid-cache.org/Doc/FAQ/FAQ.html#toc10.4 give
> the basic overview
>
> /usr/local/squid/etc/errors (or where the errors directory under
> squid/etc)
> ERR_NO_abcd <- File name should contain html. A simple <p>
> as the example in the faq has.
>
> squid.conf additions
> acl porn url_regex "/usr/local/squid/etc/abcd.txt"
> deny info ERR_NO_abcd
>
> Bill
>
> On 5/26/06, Dominique Bagnato <bagnato@rochambeau.org> wrote:
>
>> Merci Bill,
>> But How to trigger Squid to answers to those forbiden requests ?
>> How Squid will make the differnce between a legal request or a
>> forbiden ?
>>
>> In the exemple:
>>
>> acl porn url_regex "/usr/local/squid/etc/porno.txt"
>>
>>
>> What should I put in the file abcd in /usr/local/squid/etc/abcd.txt ?
>>
>> Thank you.
>>
>>
>> Bill Jacqmein wrote:
>>
>> > Dominique,
>> >
>> > http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.24, is a
>> > FAQ section for customizing squid error messages.
>> >
>> > Good Luck,
>> >
>> > Bill
>> >
>> > On 5/26/06, Dominique Bagnato <bagnato@rochambeau.org> wrote:
>> >
>> >> Hi squid users,
>> >> I have squid running on Solaris 10 with apache2.
>> >> It's working perfectly but Is it possible for the Not Allowed
>> Proxy User
>> >> to have a message saying :Forbiden to use this proxy.
>> >> Right now they don't have access at all but they don't have any
>> >> messages. They just see "This page cannot be display.....
>> >>
>> >> I guess is just cosmetic but If it's easy to do thank you.
>> >>
>> >> --
>> >> Dominique Bagnato - Head of the Technology Department.
>> >> French International School - Bethesda, MD. USA
>> >> Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Dominique Bagnato - Head of the Technology Department.
>> French International School - Bethesda, MD. USA
>> Tel:301 530 8260 Ext:279 - http://www.rochambeau.org
>>
>>
>>
>>
>
>
>
>
>

-- 
Dominique Bagnato - Head of the Technology Department.
French International School - Bethesda, MD. USA
Tel:301 530 8260 Ext:279 - http://www.rochambeau.org 
Received on Fri May 26 2006 - 11:09:12 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT