[Zope] Hiding header?

Allen Schmidt aschmidt at fredericksburg.com
Wed Jan 5 09:12:11 EST 2005


>From an old post I saved for such an occasion. Have not tried but but the original poster wrote back that it did work. This was a while back but should still work.
--Allen

> Looks like there's one line in ZServer/HTTPServer.py that does it all:
>
>     SERVER_IDENT='Zope/%s ZServer/%s' % (ZOPE_VERSION,ZSERVER_VERSION)
>
> If you wanted to emulate the Apache production settings, you could change that to:
>
>     SERVER_IDENT='Zope'
>
>

>> Is it possible to hide the header that Zope advertises?
>>
>> Currently, Zope is advertising "Server: Zope/(Zope 2.7.3-0, python
>> 2.3.4, linux2) ZServer/1.1 Plone/2.0.5", that is forwarded as is by
>> Apache.
>>
>> I know that apache can be set to hide its current version.  It would
>> be nice if we could do the same with Zope.  Is this possible?
>> Where/how do we do it?



More information about the Zope mailing list