Re: [squid-users] generated messages

From: Emilio Casbas <ecasbas@dont-contact.us>
Date: Tue, 14 Jun 2005 19:12:26 +0200

Aaron P. Martinez wrote:

>On Tue, 2005-06-14 at 10:24 -0500, Aaron P. Martinez wrote:
>
>
>>I'm setting up a transparent proxy and all is working well except that
>>it's supposed to be hidden from users and when one of the error pages is
>>put up, like the error contacting site or dns errors, at the bottom
>>there is a
>>
>>Generated Tue, 14 Jun 2005 15:16:45 GMT by cache.example.com
>>(squid/2.5.STABLE6)
>>
>>message, can i get rid of that somehow?
>>
>>
>
>JUST so everyone knows, i'm not trying to change the machine name to
>something different than the "gethostname" function, i read that part in
>the FAQ, and i read that by default the signature is added to the end of
>every error page. I guess a better question is how to redefine %s so
>that it doesn't say "squid/'version'". We don't want our users to know
>there is a proxy in place.
>
>

Edit the errorpage.c file, look the string
"Generated %T by %h (%s)\n"
and change it as you want, after you have to recompile squid.

Emilio C.
Received on Tue Jun 14 2005 - 11:12:47 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT