[Zope] SiteRootPATH + apache + proxy + SSL + zserver

mindlace mindlace@imeme.net
Wed, 12 Apr 2000 14:28:08 -0600


Juan Carlos Coruņa wrote:
> 
> Hi all,
> 
> After looking through the mailing list I don't found any solution for my
> problem.
> 
> Here is the problem:
> 
> I have two domains each in a different location with the same Data.fs (I
> replicate it every night).
> The domains must work with SSL in the future, so I use the proxypass method
> with apache.
> To rewrite the in line links of zope I use SiteAccess and if I set the
> property BASE and PATH for one domain it doesn't work for the other domain.
> Then I tested some configurations in httpd.conf for setting the variables
> SiteRootBASE and SiteRootPATH  idenpendently for every server without
> success.

httpd.conf:
I'm assuming the two domains are already under different proxypass
rules.
That is, the domain name expressed in proxyPass rule is the domain name
that the site should have.


SiteAccess:
You should be able to then have an Access Rule that is simply:

<dtml-call "REQUEST.set('SiteRootBASE',HTTP_HOST)">

And pre-set SiteRootPATH to / , if the path is the same for each domain.

-- 
ethan mindlace fremen        mindlace@imeme.net
zope    -&-     imap email   -&-   mailing list
weave your web with the web at http://imeme.net