BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to adjust siteroot to serve the request coming to individual Zope clients. I am asking because when two Zope servers are up with different URI/subdomain and when I open the ZMI of other Zope client, its siteroot is still pointing to the first Zope client URI. Should I empty the Siteroot value ? Or suggest? I have used mirroring on primary zope client to redirect the request to primary URI to secondary Zope URI . Regards SuSon
Sudesh soni wrote:
BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to adjust siteroot to serve the request coming to individual Zope clients.
Why would you want to do that?
I am asking because when two Zope servers are up with different URI/subdomain and when I open the ZMI of other Zope client, its siteroot is still pointing to the first Zope client URI.
If you want to do this, and I don't think you do, then you'd use Apache rewrite rules to specify different information to the VHM.
I have used mirroring on primary zope client to redirect the request to primary URI to secondary Zope URI .
I still have no idea what you're trying to achieve here... Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Yes, I used Apache rewrite rules now and it worked . I used Zope mirrot to load balance as I have two zope servers coupled to ZEO. All the clients know primary URL, so whenever clients access that URI , they will be redirected randomly to second zope server which is running on different URI [subdomain] OR will be served by the primary Zope server . Regards Suson ----- Original Message ----- From: "Chris Withers" <chris@simplistix.co.uk> To: "Sudesh soni" <sudesh.soni@ebusinessware.com> Cc: <zope@zope.org> Sent: Monday, July 30, 2007 3:41 AM Subject: Re: [Zope] ZOPE and ZEO
Sudesh soni wrote:
BlankIf two diiferent Zope clients are sharing a ZEO storage, then how to adjust siteroot to serve the request coming to individual Zope clients.
Why would you want to do that?
I am asking because when two Zope servers are up with different URI/subdomain and when I open the ZMI of other Zope client, its siteroot is still pointing to the first Zope client URI.
If you want to do this, and I don't think you do, then you'd use Apache rewrite rules to specify different information to the VHM.
I have used mirroring on primary zope client to redirect the request to primary URI to secondary Zope URI .
I still have no idea what you're trying to achieve here...
Chris
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Sudesh soni wrote:
I used Zope mirrot to load balance as I have two zope servers coupled to ZEO. All the clients know primary URL, so whenever clients access that URI , they will be redirected randomly to second zope server which is running on different URI [subdomain] OR will be served by the primary Zope server .
Sounds like you should be using either a hardware or software loadbalancer for this rather than some weird apache config ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
participants (2)
-
Chris Withers -
Sudesh soni