Hi,
At 14.45 22/06/2005, kdv wrote:
>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?
>
Squid 3 has already a similar feature:
http://www.squid-cache.org/bugs/show_bug.cgi?id=907
Regards
Guido
-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Fri Jun 24 2005 - 13:06:18 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jun 30 2005 - 12:00:05 MDT