VirtualHostMonster and Realm
Hello, on my Zope (2.5.1) I try to run several virtual host with the help of VirtualHostMonster. That works just fine, but with basic authentication all hosts will show the same realm. How can I define one realm per virtual host? Regards 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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 11 September 2002 23:13, Ulrich Wisser wrote:
Hello,
on my Zope (2.5.1) I try to run several virtual host with the help of VirtualHostMonster. That works just fine, but with basic authentication all hosts will show the same realm.
How can I define one realm per virtual host?
set a site root in the site's private directory. so far AND - -- "I used to think that the brain was the most wonderful organ in my body. Then I realized who was telling me this." -- Emo Phillips -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9f8kehlekfiEFJv4RAp1iAJ4kTOdB+0EYiSrXSk5HozSEdqmckQCdHuS+ tZxCYVuc+WTzSuWw18HYXWg= =RFuL -----END PGP SIGNATURE-----
Ulrich Wisser writes:
on my Zope (2.5.1) I try to run several virtual host with the help of VirtualHostMonster. That works just fine, but with basic authentication all hosts will show the same realm. You can configure the REALM.
Please search the mailing list archives for "realm" and "REALM". Dieter
Hello Dieter,
Ulrich Wisser writes:
on my Zope (2.5.1) I try to run several virtual host with the help of VirtualHostMonster. That works just fine, but with basic authentication all hosts will show the same realm. You can configure the REALM. Please search the mailing list archives for "realm" and "REALM".
I already did know about Z_REALM. And that was the only thing the archive and Google did recommend. But that doesn't solve my problem. Z_REALM defines the realm for the whole Zope instance but I have several virtual hosts on my instance and want every host to have it's own realm. Any idea? 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
I already did know about Z_REALM. And that was the only thing the archive and Google did recommend. But that doesn't solve my problem. Z_REALM defines the realm for the whole Zope instance but I have several virtual hosts on my instance and want every host to have it's own realm.
Any idea?
Use CookieCrumbler and cookie-based authentication, or hack the source... -- /Magnus Heino
Ulrich Wisser writes:
I already did know about Z_REALM. And that was the only thing the archive and Google did recommend. I remember a post recommending to set "RESPONSE.realm" in a SiteAccess AccessRule (you may need an External Method for this).
Dieter
participants (4)
-
Andreas Lauser -
Dieter Maurer -
Magnus Heino -
Ulrich Wisser