There is one other mod_proxy API that I'm muddling through,
and that's related to how we add balancers to a particular
vhost (not hard, pretty much done) but, more importantly, how
we dynamically add full vhost-like reverse proxies (extending
what mod_proxy_express does)...

For example, right now, the proxypass'es are all associated
with a particular server. So conceptionally:

        <Virtualhost www.foo.com>
          ProxyPass /img balancer://foo/
          ...
        </Virtualhost>
        <Virtualhost www.bar.com>
          ProxyPass /img balancer://bar/
          ...
        </Virtualhost>

What I'm looking at is something that allows the top-level
server (or the catch-all vhost) to provide something like

        <Virtualhost www.bar.com>
          ProxyPass /img balancer://bar/
          ProxyPass http://www.example.com/ balancer://example/
          ...
        </Virtualhost>

So a req for http://www.bar.com/img/apache.gif -> balancer://bar/apache.gif
and a req to the *same* vhost, but for http://www.example.com/img/apache.gif
goes to balancer://example/img/apache.gif

Lots of ways to do that, and am looking at a non-evasive
way right now, but I may require some tweaking of the proxy
structs...


Reply via email to