Re: [Zope] Several domains and one Zope
On Wednesday 06 June 2001 16:55, you wrote:
Look at this for an example of one way to do it: http://twsite.bizland.com/twzop0015.htm
Well I don't get any errors and I havent locked myself out but ... it doesn't seem to work. My HostsTable contains the 2 following domains: www.mmmanager.dk:8080 www.mmmanager.com:8080 But when I enter the sites, I just get main Zope start page. Gitte
-----Original Message----- From: Gitte Wange [mailto:gitte@mmmanager.org] Sent: Wednesday, June 06, 2001 9:26 AM To: zope@zope.org Subject: [Zope] Several domains and one Zope
Hello,
I am sure that this question have been asked a thousand times, but I am not sure what to search for in the archives and the documentation so here goes:
How do I set up several domains in the same Zope ? I know there is a lot of Products (e.g. VirtualSiteHost, VirtualSiteMonster etc.) but I'm not sure of which one is the best to use.
Anyone with good ideas ?
Regards, -- ************************ Gitte Wange Jensen
System Squid Developer MMManager Aps +45 29 72 79 72
gitte@mmmanager.org ************************
_______________________________________________ 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 )
For what it's worth, I've got four domains handled by two Zope SiteRoots: http://www.urbanape.com/ \ > http://www.urbanape.com:8280/urbanape/ http://www.urbanape.org/ / http://www.princesscrankypants.com/ \ > http://www.princesscrankypants.com:8280/princesscrankypants/ http://www.princesscrankypants.org/ / Now, there's nothing there, right now ( 'cept a logo ), but I've got all the pieces in place. I've got the four domains set up as virtual hosts in apache, using ProxyPass to dump each pair into the appropriate Zope folder ( which contains a SiteRoot for the .com of the pair ). If I ever need to get in to administer from the top down, I can just go to the ip address + port and get in at the real root level. Granted, it doesn't take advantage of native Zope products ( which would probably be a little cleaner ), but it's extensible enough that I could add more domains quickly and easily. As they're personal sites, I don't really concern myself with the reliability/robustness of the setup. YMMV. Zac $name="zachery bir"; $email="zbir@urbanape.com"; $position="systems administrator"; $altposition="witch doctor"; $voice="804.353.3742"; $web="http://www.urbanape.com";
At 09:31 AM 6/7/2001 -0400, zbir@urbanape.com wrote:
For what it's worth, I've got four domains handled by two Zope SiteRoots:
http://www.urbanape.com/ \ > http://www.urbanape.com:8280/urbanape/ http://www.urbanape.org/ /
http://www.princesscrankypants.com/ \ > http://www.princesscrankypants.com:8280/princesscrankypants/ http://www.princesscrankypants.org/ /
Now, there's nothing there, right now ( 'cept a logo ), but I've got all the pieces in place. I've got the four domains set up as virtual hosts in apache, using ProxyPass to dump each pair into the appropriate Zope folder ( which contains a SiteRoot for the .com of the pair ). If I ever need to get in to administer from the top down, I can just go to the ip address + port and get in at the real root level.
Then when you got to a folder containing your site root you have to re-log on and you are now accessing your admin with the SiteRoot setting. If for any reason you messed up your site root and don't know how to suppress it you could be in some trouble trying to even get to the manage of these sections. VHM (virtual host monster) could easily help you to avoid any potential disasters like this and when you access, like you are indicating above you only have to log in once and you will be able to manage everything because VHM is dormant unless activated by the call from your APACHE.
Granted, it doesn't take advantage of native Zope products ( which would probably be a little cleaner ), but it's extensible enough that I could add more domains quickly and easily. As they're personal sites, I don't really concern myself with the reliability/robustness of the setup. YMMV.
Then when you need to create more VH (Virtual Hosts) you just need to add the proper settings to Apache and not even worry about a SiteRoot settings. My opinion much cleaner, safer and easier SR
Zac
$name="zachery bir"; $email="zbir@urbanape.com"; $position="systems administrator"; $altposition="witch doctor"; $voice="804.353.3742"; $w eb="http://www.urbanape.com";
_______________________________________________ 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 )
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
Then when you got to a folder containing your site root you have to re-log on and you are now accessing your admin with the SiteRoot setting. If for any reason you messed up your site root and don't know how to suppress it you could be in some trouble trying to even get to the manage of these sections.
Actually, you can get directly to it, if you know what you're doing, by going to : http://123.123.123.123:8230/urbanape/SiteRoot/manage_main and edit it directly. The re-auth comes about from trying to evaluate the manage_workspace method ( I believe - I might be badly mistaken - but this has worked for me in the past )
VHM (virtual host monster) could easily help you to avoid any potential disasters like this and when you access, like you are indicating above you only have to log in once and you will be able to manage everything because VHM is dormant unless activated by the call from your APACHE.
Yeah, I've always wanted to get into using more Zope-specific products. I wouldn't mind weening Apache out of the picture altogether, actually.
Then when you need to create more VH (Virtual Hosts) you just need to add the proper settings to Apache and not even worry about a SiteRoot settings.
My opinion much cleaner, safer and easier
Will look into these products. I've meant to do so, anyway :) $name="zachery bir"; $email="zbir@urbanape.com"; $position="systems administrator"; $altposition="witch doctor"; $voice="804.353.3742"; $web="http://www.urbanape.com";
At 10:05 AM 6/7/2001 -0400, zbir@urbanape.com wrote:
Then when you got to a folder containing your site root you have to re-log on and you are now accessing your admin with the SiteRoot setting. If for any reason you messed up your site root and don't know how to suppress it you could be in some trouble trying to even get to the manage of these sections.
Actually, you can get directly to it, if you know what you're doing, by going to :
That is generally said about suppressing it.
and edit it directly. The re-auth comes about from trying to evaluate the manage_workspace method ( I believe - I might be badly mistaken - but this has worked for me in the past )
My understanding is your Re-authorized because your changing your domain. So the browser needs current login information. This has to do with the Default Domain when you access the site. Use VHM and it will go away. Of course you only have to enter the password once for Each new domain you access until you close your browser. Try it. If you remove the SiteRoot it wont ask for that second password.
VHM (virtual host monster) could easily help yo u to avoid any potential disasters like this and when you access, like you are indicating above you only have to log in once and you will be able to manage everything because VHM is dormant unless activated by the call from your APACHE.
Yeah, I've always wanted to get into using more Zope-specific products. I wouldn't mind weening Apache out of the picture altogether, actually.
Well my understanding of VHM at least you need something to pass the proper arguments to the VHM so it knows what to do. Unfortunately that makes it hard to Eliminate a front end to your Zope like Apache. Of course I could be wrong in my understanding and there may be a way I don't know about. SR
Then when you need to create more VH (Virtual Hosts) you just need to add the proper settings to Apache and not even worry about a SiteRoot settings.
My opinion much cleaner, safer and easier
Will look into these products. I've meant to do so, anyway :)
$name="zachery bir"; $email="zbir@urbanape.com";
$position="systems administrator"; $altposition="witch doctor"; $voice="804.353.3742"; $web="http://www.urbanape.com";
---------------------------------------------------- Sherwood Robinson Hostmaster The Free Lance-Star/Internet Department srobinson@fredericksburg.com http://www.fredericksburg.com 616 Amelia St. Fredericksburg, VA 22401 540-374-5000 ext. 5657
participants (3)
-
Gitte Wange -
Sherwood Robinson -
zbir@urbanape.com