Re: [squid-users] Customizing ERR_ACCESS_DENIED

From: Andreas Pettersson <andpet@dont-contact.us>
Date: Tue, 25 May 2004 15:29:19 +0200

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 - 07:27:33 MDT

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