Re: [Zope] siteaccess, hosting etc, sanity check
Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule. but. is this a lower performance solution than fronting zope with apache? Michael Bernstein wrote:
Jonathan Cheyne wrote:
Ah, no, I though that was if you were doing the virtual hosting in zope (as opposed to virtual hosts in httpd.conf or a rewrite)?
I will add one, pronto
Sorry, I didn't mean to confuse you. If you're using Apache Virtual hosting, you don't need an access rule. I thought that you might have one that was conflicting.
One thing that might help you figure this out is to add a 'debug' DTML Method to your root folder that contains:
<dtml-var REQUEST>
And trying various URLs with /debug tacked on the end to see how the HTTP request is being rewritten.
HTH,
Michael Bernstein.
Jonathan Cheyne wrote:
Ok, well I got some success by eliminating apache and using the site accesss example methods and an access rule.
but.
is this a lower performance solution than fronting zope with apache?
The short answer is: "Only in some special cases". An example of such a 'special case' is if you want certain static files to be served directly by apache, and not by Zope. Or maybe you just like Apaches log-files better ;-) If the stuff that Apache was going to be fronting for was coming out of Zope anyway, then there is no difference. You may want to keep Apache around for certain things, just use IP hosting for your root folder (no Virtual hosting) and have the Access Rules and SiteRoots take care of both blue.com and red.com in sub-folders. that's what i'm doing on the Zope I'm hosting at CodeIt.com. HTH, Michael Bernstein.
participants (2)
-
Jonathan Cheyne -
Michael Bernstein