[Zope] Apache in front of ZServer

Phil Harris phil.harris@zope.co.uk
Tue, 24 Oct 2000 10:37:07 +0100


Jorn,

It's perfectly possible, you just need to do a little work ;)

Your proxy pass will be something like this:

ProxyPass / http://myserver.com:8080/
ProxyPassReverse http://myserver.com:8080/ /

for the other part of serving static content, it really depends what you
want but here are two ways to do it.

1.    use the LocalFileSystem product,
http://www.zope.org/Products/Members/jfarr/Products/LocalFS/LocalFS-0.9.6.tg
z

2.    use Apache to intercept calls to a specific dir before passing it onto
Zope, e.g. use a RewriteRule.

hth

Phil


----- Original Message -----
From: "Jørn Helge B. Dahl" <jornd@falch.net>
To: <zope@zope.org>
Sent: Tuesday, October 24, 2000 9:39 AM
Subject: [Zope] Apache in front of ZServer


> Hi all!
>
> I am aware of <URL: http://www.zope.org/Members/anser/apache_zserver>,
> but I am looking for at way to make Apache serve Zope from the root URL.
>
> It is possible to make the apache front end
> <http://machine.domain.com/Zope> be served by zope backend
> <http://machine.domain.com:8080>, but what really want is to make apache
> frontend <http://machine.domain.com> be served by Zope, and still be
> able to serve static content from selected locations. Example:
>
> <http://machine.domain.com/>            <- Zope w/Apache frontend
> <http://machine.domain.com/static>      <- Apache static
>
> Am I clear? Is it possible to do that without NameVirtualHost?
> --
> Jørn Helge B. Dahl
> System Administrator
> http://falch.net
>
>
> _______________________________________________
> 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 )