Re: [squid-users] hiding Squid information in ERROR

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 12 Mar 2003 21:14:56 +0100

Squid error pages must contain the Squid name and version, but this may
be shown within a HTML comment if you like to "hide" it from the user.

Add the follwing line to your error pages:

<!-- Generated by %s -->

For further details see the Squid FAQ.

Regards
Henrik

MASOOD AHMAD wrote:
>
> I don't want to recompile Squid ....is there a way to
> hide it without recompiling Squid....
>
> Best Regards,
> Masood Ahmad Shah
>
> --- Ilker Gokhan <ilker.gokhan@linux.org.tr> wrote:
> > MASOOD AHMAD wrote:
> > > Dear users,
> > >
> > > I'm working on custom error pages...they are
> > working
> > > fine but I want to hide end line which showing
> > squid
> > > information like that
> > >
> > >
> > > Generated Wed, 12 Mar 2003 16:46:02 GMT by serv
> > > (squid/2.5.STABLE1-20021228)
> >
> >
> > See errorpage.c from source:
> >
> >
> > } error_hard_text[] = {
> >
> > {
> > ERR_SQUID_SIGNATURE,
> > "\n<br clear=\"all\">\n"
> > "<hr noshade size=1>\n"
> > "Generated %T by %h (%s)\n"
> > "</BODY></HTML>\n"
> > }
> > };
> >
> > Change it whatever you want..then recompile your
> > squid..
> >
> > Regards,
> > Ilker G.
> > ---------
> > "Peace at home,peace at the world." K.Ataturk
> >
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online
> http://webhosting.yahoo.com
Received on Wed Mar 12 2003 - 13:37:05 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:14:02 MST