diff --git a/docs/zdgbook/ObjectPublishing.rst b/docs/zdgbook/ObjectPublishing.rst index aba2994206..1701e7e0f2 100644 --- a/docs/zdgbook/ObjectPublishing.rst +++ b/docs/zdgbook/ObjectPublishing.rst @@ -590,20 +590,6 @@ Finally, traversal security can be circumvented with the in Chapter 6, "Security". -Environment Variables -===================== - -You can control some facets of the publisher's operation by setting -environment variables. - -- 'Z_REALM' -- Sets the basic authorization realm. This controls the - realm name as it appears in the web browser's username and password - dialog. You can also set the realm with the '__bobo_realm__' module - variable, as mentioned previously. - -Many more options can be set using switches on the startup script. -See the *Zope Administrator's Guide* for more information. - Testing ------- diff --git a/src/Zope2/Startup/handlers.py b/src/Zope2/Startup/handlers.py index 6a2d0b1051..ddb518093f 100644 --- a/src/Zope2/Startup/handlers.py +++ b/src/Zope2/Startup/handlers.py @@ -62,11 +62,6 @@ def automatically_quote_dtml_request_data(value): return value -def http_realm(value): - value is not None and _setenv('Z_REALM', value) - return value - - def root_wsgi_handler(cfg): # Set environment variables for k, v in cfg.environment.items():