Re: [squid-users] Disable Squid Error Messages

From: Stefano Del Furia <delfo@dont-contact.us>
Date: Tue, 14 Mar 2006 08:02:25 +0100

But is there the capability of change standard squid's errors pages ??
Thanks
Stefano

In data Mon, 13 Mar 2006 22:55:21 +0100, Rachel <packetgirl@gmail.com> ha
scritto:

> Christoph Haas wrote:
>> On Monday 13 March 2006 21:47, Rachel wrote:
>>
>>> Is it possible to configure squid to not show some of / all of it's in
>>> built error messages, getting the browser to display it's own defaults.
>>>
>>
>> No. Because the browser will only use it's built-in error messages when
>> it detects a certain condition itself - like a DNS error or a 404 (page
>> not found). But since Squid is always returning a proper error page the
>> browsers will display it.
>>
>> Christoph
>>
> Thanks Christoph,
>
> I have read that if the error templates do not contain %s then squid
> will output %s at the end of each error message.
>
> Is it possible to stop Squid from automatically displaying %s or will I
> have to alter the source code? - I want to remove it completly, not
> just hide it with <!-- -->
>
> errorpage.c :
>
> } error_hard_text[] = {
>
> {
> ERR_SQUID_SIGNATURE,
> "\n<BR clear=\"all\">\n"
> "<HR noshade size=\"1px\">\n"
> "<ADDRESS>\n"
> "Generated %T by %h (%s)\n"
> "</ADDRESS>\n"
> "</BODY></HTML>\n"
>
>
> Many Thanks!
>
> Rachel
>
>
Received on Tue Mar 14 2006 - 00:02:33 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST