I'm using Zserver and Site Access, http://zope.org/Members/4am/SiteAccess, version SiteAccess-2-0-0 plus Mapping. This supports virtual hosting without a python script. Install SiteAccess Add a virtual host monster (vhm) in the root of your site Click on the new vhm, and read the instructions. Note the Edit tab - this is where you make the mappings. -Scott -----Original Message----- From: alex@quad.com.ar [mailto:alex@quad.com.ar] Sent: Thursday, September 20, 2001 8:05 PM To: Vincent - D. Ertner; Zope Subject: Re: [Zope] Best Virtual Host Solution if you have apache in front of zope, then I'd use VirtualHostMonster, which is quite straight forward.. otherwise, if you have Zope without anything in front of it, you can do the following: let's say you want the folder /foo to become www.foo.org and /bar to become www.bar.org create a SiteRoot object on each folder with title, base and path empty. then at the root folder create a python script with the following content: hostname = context.REQUEST.HTTP_HOST sitemap = {} sitemap['www.foo.org']='foo' sitemap[www.bar.org']='bar' if sitemap.has_key(hostname): SiteRootPATH='/' context.REQUEST['TraversalRequestNameStack'].append(sitemap[hostname]) go back to root folder and select 'Set Access Rule' , click Add, then in the 'Rule Id' write the name of the python script you just created in the root folder and finally click 'Set Rule', that will make an Access Rule out of that pyscript. hope it helps.. Alex ----- Original Message ----- From: "Vincent - D. Ertner" <vincent@eec.de> To: "Zope" <zope@zope.org> Sent: Thursday, September 20, 2001 11:03 PM Subject: [Zope] Best Virtual Host Solution Hi Zopistas, I saw a few products on zope.org for hosting / managing virtual domains ... but what product is first choice? Monster? SiteAccess? SiteAccess2? Surely this is a newbie question - my apologies ... ;-) Cheers, Vince ''' ô¿ô - _______________________________________________ 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 ) _______________________________________________ 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 )