Re: [squid-users] Customizing ERR_ACCESS_DENIED

From: <alireza@dont-contact.us>
Date: Wed, 26 May 2004 01:16:16 +0430 (IRST)

That is correct but if you include %s it will show the squid version on
your error page, but there is a trick.you can include %s on your html file
and after that do some HTML work on it.Change the Font size (of %s) to the
smallest size that possible and after that change the font color same as
your background color, so it will write the squid version on your error
page but noboday can see it :) Becuase bothe the fonts and Html backgroun
have same color. another solution is to cange the squid source and
recompile it.

Alireza

> Actually, if you include %s in your customized error page, squid won't
> append its own footer.
> So the solution is of course to add the following:
>
> <!-- %s -->
>
> /Andreas ;-)
>
>
> ----- Original Message -----
> From: "Rob Hadfield" <robh@nvcc.com.au>
> To: <squid-users@squid-cache.org>
> Sent: Tuesday, May 25, 2004 3:17 PM
> Subject: Re: [squid-users] Customizing ERR_ACCESS_DENIED
>
>
>> ----- Original Message -----
>> From: "Flavio Borup" <borup@running.com.br>
>> To: <squid-users@squid-cache.org>
>> Sent: Tuesday, May 25, 2004 11:02 PM
>> Subject: [squid-users] Customizing ERR_ACCESS_DENIED
>>
>>
>> > I modified the ERR_ACCESS_DENIED file with a onel-line HTML, using a
>> > http refresh method
>> > I would like to redirect very fast, so i use a time of zero, but even
>> > in that way, appears on the botton, a squid customized message showing
>> > the version of the squid and other infos
>> >
>> > What can i do to not show any squid HTML, doing only a fast redirect
>> > to another URL?
>> >
>>
>> If you don't want people to see the version of the squid at the bottom
>> of
>> the error pages, then you would probbly need to edit the source code and
>> recompile Squid.
>>
>> I have had a quick look at the source for squid-2.5.STABLE5 and it looks
>> like the fiel to edit would be errorpage.c at around line 65
>>
>> Regards,
>> Rob Hadfield
>>
>
>
Received on Tue May 25 2004 - 14:46:27 MDT

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