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

From: Ilker Gokhan <ilker.gokhan@dont-contact.us>
Date: Wed, 12 Mar 2003 18:02:04 +0200

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
Received on Wed Mar 12 2003 - 09:03:30 MST

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