RE: [Zope] Apache virtual host combined with Zope
I would just use ProxyPass and set the SiteRoot in Zope for that folder if that part is needed. Works for us to target folders in Zope from Virtual hosts. But when you hit that folder in manage it sends you to that VH.. At 03:45 PM 4/6/2001 +0100, Andy Gimblett wrote:
I don't know about FastCGI, but mod_pcgi2 can handle entire tree (Zope serves root of a virtual host) or subtree (Zope serves subdirectory of a site) without any special hacks.
Yeah, so can ProxyPass.
What exactly is your problem?
Well, I just don't know how it's done. I must confess that I haven't investigated this too far, maybe with some reading about the syntax of Apache's FastCGI directive I could find the answer.
To use FastCGI to serve a virtual, I'd have the vitual defined in my httpd.conf something like this:
<VirtualHost 1.2.3.4> ServerAdmin gimbo@ftech.net ServerName foo.bar.com ErrorLog logs/foo_error.log CustomLog logs/foo_access.log common
FastCgiExternalServer /usr/local/apache/htdocs/foo \ -host localhost:8889 \ -pass-header Authorization SetHandler fastcgi-script </VirtualHost>
Looking at that, I can't see any way to tell it to pass the request to a subdirectory of the Zope tree being served up by the ZServer listening on 8889. So the effect is that foo.bar.com is a virtual for the entire Zope tree instead. Which is fine if that's what you want, but not if you want to serve subtrees.
As I say, maybe there's another parameter to FastCgiExternalServer which does it, but I haven't found it. I haven't looked too hard, either, mind. ;-)
-Andy
-- Andy Gimblett <andy.gimblett@ftech.net> Programmer Frontier Internet Services Limited <www.frontier-internet.ltd.uk> Tel: 029 20 820 044 Fax: 029 20 820 035 Statements made are at all times subject to Frontier's Terms and Conditions of Business, which are available upon request.
_______________________________________________ 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 )
participants (1)
-
Sherwood Robinson