Re: [squid-users] generated messages

From: kdv <kdv@dont-contact.us>
Date: Wed, 22 Jun 2005 15:45:15 +0300

On 14.06.2005 20:12 Emilio Casbas wrote:

> 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.
>
>
I think, changing errorpage.c is a hack which can't be done by anybody
and not always comfortable. Can developers create a tag in squid.conf
like this:
errpages_add_sig on/off - to add or not the signature?
Received on Wed Jun 22 2005 - 06:45:19 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 30 2005 - 12:00:05 MDT