I've been looking at extending ProxyPass to
accept and use globbing patterns (basically,
to make it easier for those migrating from
mod_jk and JkMount to Apache 2.2), and it's
almost trivially easy, but there are some
"gotchas":
1. ProxyPass /foo/* balancer://bar
should silently rewrite itself to
ProxyPass /foo/ balancer://bar
In other words, we already assume a prefix
glob. But should we? In other words,
there is no difference between /foo/ and /foo/*.
2. ProxyPass /*.gif balancer://bar
How to handle /i/j/jim.gif? Should
the resultant proxy request be
balancer://bar/i/j/jim.gif (ie: the whole
glob) or balancer://bar/jim.gif.
I think the former is the most logical
and the most unsurprising.
Assuming that the interpretations of #1 and #2
are semi-universal, any other comments? So, basically,
we are "just" adding suffix globbing to our already
existing prefix "globbing"...