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 <[EMAIL PROTECTED]> 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

Reply via email to