I'm no Apache GrandMaster but couldn't you use the [p] option of a
RewriteRule to make it proxy if the url matches a pattern:
RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l]
Or something along those lines.
----- Original Message -----
From: "Jørn Helge B. Dahl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 24, 2000 1:40 PM
Subject: Re: [Zope] Apache in front of ZServer
> * [EMAIL PROTECTED] (JXrn Helge B. Dahl)
> | | for the other part of serving static content, it really depends what
> | | want but here are two ways to do it.
> | |
> | | 1. use the LocalFileSystem product,
> | |
> | | z
> | That I already do, so that one is okay.
> | | 2. use Apache to intercept calls to a specific dir before passing
> | | 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?
> On a second thought: What I _really_ want (I think, unless someone
> tells me differently :-) ) is a conditional ProxyPass, to tell apache
> to redirect everything _unless_ the URI is /static (or something).
> But this is probably something for apache geeks.
> Thanks anyway.
> Jørn Helge B. Dahl
> Zope maillist - [EMAIL PROTECTED]
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-dev )
Zope maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists -