[Zope] Apache in front of ZServer

Jørn Helge B. Dahl jornd@falch.net
24 Oct 2000 11:49:47 +0200


* "Phil Harris" <phil.harris@zope.co.uk>

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

That's OK, that way it'll be more fun :-)

| Your proxy pass will be something like this:
| 
| ProxyPass / http://myserver.com:8080/
| ProxyPassReverse http://myserver.com:8080/ /

I had that one already figured out. but I thought the ProxyPassReverse
directive was to be the other way around: To be exactly like the
ProxyPass directive?

| 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

That I already do, so that one is okay.

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

Yup, this is what I need. I think was being unclear about what I really
-wanted: I want to still be able to use php and such thing, even if I
serve Zope from root. So the RewriteRule does the trick?

Thanks Phil,
-- 
Jørn Helge B. Dahl
System Administrator
http://falch.net