Re: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1
On Sun, 29 Oct 2000, Alexander Verhaar wrote: I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet# or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] Changing standard realm with SiteAccess2+Zope 2.2.1
--- In [EMAIL PROTECTED], "Stefan H. Holek" [EMAIL PROTECTED] wrote: On Sun, 29 Oct 2000, Alexander Verhaar wrote: I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title I was unable to make it work that way either. However this *did* work for me: edit your start script to include Z_REALM=Intranet # or whatever it is you need export Z_REALM somewhere before the exec HTH, Stefan Hmmm, this is the way i'm using it now. But if you hosts multiple sites, they all get the same realm. Also after debugging our Zope site i discovered that ZPublisher.Publish sets the realm before the ZPublisher.HTTPResponse. ___ Zope maillist - [EMAIL PROTECTED] 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 )
[Zope] Changing standard realm with SiteAccess2+Zope 2.2.1
I'm trying to change the standard realm with SiteAccess and a External Method. I still get the standard 'Zope' realm, while SiteAccess is pointing to the External Method. What am i doing wrong? Here below the external method i used: import ZPublisher.HTTPResponse def NewRealm(self): ZPublisher.HTTPResponse.HTTPResponse.realm=self.title Alexander Verhaar Website : http://www.atp.nl ___ Zope maillist - [EMAIL PROTECTED] 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 )