Re: removing squid error footer

From: Chris Conn <cconn@dont-contact.us>
Date: Thu, 08 Jun 2000 11:55:06 -0400

Nick wrote:
>
> that line is Not in the HTML code..
> i would also like to know how this error might be
> removed..
> Regards
> ~Nick

Hi,

In errorpage.c, change your "error_hard_text[]" to the following:

} error_hard_text[] = {

    {
        ERR_SQUID_SIGNATURE,
            "</BODY></HTML>\n"
    }
};

Just erase a couple lines between ERR_SQUID_SIGNATURE and the </HTML>,
and recompile.

Also, you might want to change the contents of your ERR_XXX files in
.../squid/etc/errors to something like this:

<BODY>
<HTML>
<BODY BGCOLOR="#FFFFFF" TEXT="#FFFFFF">

Since you seem to want to hide squid, this will give you a nice white
blank page instead of anything squid would generate.

Chris
Received on Thu Jun 08 2000 - 09:58:53 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:58 MST