Hello, my application uses basic authentication. The browser opens a window and the user is asked to authenticate for realm "Zope". How can I change that "Zope" to something like my applications name? Thanks Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06
At 01.02.2002 10:16 +0100, Ulrich Wisser wrote:
Hello,
my application uses basic authentication. The browser opens a window and the user is asked to authenticate for realm "Zope". How can I change that "Zope" to something like my applications name?
put export Z_REALM='whatever' in the start script HTH, Stefan
At 10:16 01/02/2002 +0100, Ulrich Wisser wrote:
Hello,
my application uses basic authentication. The browser opens a window and the user is asked to authenticate for realm "Zope". How can I change that "Zope" to something like my applications name?
setting the ZREALM environment variable in the shell before starting zope does it for me. For example: export ZREALM="MY Realm" python z2.py
Thanks
Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Ulrich, I spent less than a minute on a Google search here < http://www.zope.org/SiteIndex/searchForm > for realm "basic authentication" which shows seven hits. One of the hits < http://www.zope.org/Documentation/ZDG/ObjectPublishing.stx/document_src > contains this: Environment Variables You can control some facets of the publisher's operation by setting environment variables. 'Z_DEBUG_MODE' -- Sets debug mode. In debug mode tracebacks are not hidden in error pages. Also debug mode causes 'DTMLFile' objects, External Methods and help topics to reload their contents from disk when changed. You can also set debug mode with the '-D' switch when starting Zope. '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. 'PROFILE_PUBLISHER' -- Turns on profiling and sets the name of the profile file. See the Python documentation for more information about the Python profiler. Many more options can be set using switches on the startup script. See the *Zope Administrator's Guide* for more information. Did you even _try_ to find this information yourself? Svante Kleist, NEMESIS systemDesign, Stockholm --On Friday, February 01, 2002 10:16 +0100 Ulrich Wisser <liste@publisher.de> wrote:
Hello,
my application uses basic authentication. The browser opens a window and the user is asked to authenticate for realm "Zope". How can I change that "Zope" to something like my applications name?
Thanks
Ulrich -- Searchengine Know How - Webpromotion - Optimization - Internal Search World Wide Web Publisher, Ulrich Wisser, Odensvag 13, S-14571 Norsborg http://www.publisher.de Tel: +46-8-53460905 Fax: +46-8-534 609 06
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Richard Barrett -
stefan holek -
Svante Kleist -
Ulrich Wisser