Re: Re: Anzeige der HTTP Header deaktivieren

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.german
Organization ZOPYX Ltd & Co. KG
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 13.02.2009 8:59 Uhr, Stefan Bielenberg wrote:
>> Du meinst den SERVER: Header? Der Terminus "Banner" gibt es nicht.
> 
> Ja, den von Zope und den von Apache.
> 
>> Falls ja, dann geht das nur über Monkeypatching:
> 
> Was ist dass denn? Ich brauche mehr Infos.

http://plone.org/documentation/glossary/monkeypatch

> 
>> from ZServer import zhttp_server
>> zhttp_server.SERVER_IDENT = 'Who wants to know that?'
> 
> ... und wo packe ich das hin, 

Irgendwo in Deinen Code, der beim Hochfahren von Zope durchlaufen wird.
Üblicherweise in die __init__.py eines Moduls/Produkts, welches von Dir
gepflegt wird und eingesetzt.


> damit es für alle Serverabfragen und alle
> vorhandenen Webseiten funktioniert?
> 

Der Monkeypatch ist global für die gesamte Zope Installation.

- -aj

- -- 
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [email protected] - Phone +49 - 7071 - 793376
Registergericht: Amtsgericht Stuttgart, Handelsregister A 381535
Geschäftsführer/Gesellschafter: ZOPYX Limited, Birmingham, UK
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkmVKRkACgkQCJIWIbr9KYzHrACfftm6U9VjA2ziqg4+CIA//aCf
esgAn0WSgOLVT7n2iqq4ReXfPml0NSpO
=h9ym
-----END PGP SIGNATURE-----



_______________________________________________
zope mailing list
[email protected]
https://mail.dzug.org/mailman/listinfo/zope
lists.vcf (text/x-vcard, 316 B)
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.