Alex Gould wrote:
> Hugo Ramos wrote:
> > After testing SiteAccess for about 100 times... i still can't get zope to
> > serve multiple virtual hosts and domains...


> I just recently asked this question and got it to work.  This setup
> works if you have several subdomains 'sitea.domain.tld' and
> 'siteb.domain.tld' etc.  It may have to be modified to work with other
> setups - don't ask me how!

but please do look at Evan's excellent documentation, where he does
cover several examples.

> -  create folders sitea, siteb, and so on in your root zodb directory
> -  put a siteroot in each folder, leaving all fields except name blank
> -  make a dtml method in the root directory called virtual_hosts or
> something, consisting of the following script:
> <dtml-comment>
> Get subdomain:
> </dtml-comment>


quick note: Access rules don't care if you leave out the dtml-comment

> This should work, but don't ask me how (credit goes to Ethan Mindlace
> Freeman, who gave me these instructions).  Good luck!

it's Fremen, as in spice, giant worms, arrakis ... :-)


Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to