Re: ProxyPass globbing

2007-05-13 Thread Jim Jagielski
On May 12, 2007, at 11:19 AM, Ruediger Pluem wrote: On 05/12/2007 04:15 PM, Jim Jagielski wrote: On May 12, 2007, at 10:09 AM, Jim Jagielski wrote: Still, just because mod_rewrite allows it doesn't mean we shouldn't allow ProxyPass to do what's right. ;) in any case, added to

Re: ProxyPass globbing

2007-05-13 Thread Jim Jagielski
On May 13, 2007, at 1:01 AM, Paul Querna wrote: Well... I think we should consider a more generic way to do this. What I would like to see is something like AddHandler gif proxy=balancer://bar If mod_proxy knew about a handler syntax like this, you could do lots of creative things,

Re: ProxyPass globbing

2007-05-12 Thread Ruediger Pluem
On 05/12/2007 01:01 AM, Jim Jagielski wrote: On May 11, 2007, at 5:39 PM, Nick Kew wrote: Second, putting ProxyPass in a Directory context accomplishes the same thing more simply by enabling LocationMatch on it. Except, of course, that this does not work :) Yes, this does not work

Re: ProxyPass globbing

2007-05-12 Thread Jim Jagielski
On May 12, 2007, at 3:46 AM, Ruediger Pluem wrote: Do we really need this? As we know from Rich's lightning talk at the ApacheCon every directive can be replaced by a rewrite rule :-). Except that mod_rewrite is not balancer aware... so using rewrite rules uses the default reverse

Re: ProxyPass globbing

2007-05-12 Thread Jim Jagielski
On May 12, 2007, at 10:09 AM, Jim Jagielski wrote: Still, just because mod_rewrite allows it doesn't mean we shouldn't allow ProxyPass to do what's right. ;) in any case, added to trunk... next step is to also make the Directory container method work...

Re: ProxyPass globbing

2007-05-12 Thread Ruediger Pluem
On 05/12/2007 04:15 PM, Jim Jagielski wrote: On May 12, 2007, at 10:09 AM, Jim Jagielski wrote: Still, just because mod_rewrite allows it doesn't mean we shouldn't allow ProxyPass to do what's right. ;) in any case, added to trunk... next step is to also make the Directory container

Re: ProxyPass globbing

2007-05-12 Thread Paul Querna
Jim Jagielski wrote: 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

Re: ProxyPass globbing

2007-05-11 Thread Mladen Turk
Jim Jagielski wrote: 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/*. If you

Re: ProxyPass globbing

2007-05-11 Thread Nick Kew
On Fri, 11 May 2007 15:19:58 -0400 Jim Jagielski [EMAIL PROTECTED] wrote: 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

Re: ProxyPass globbing

2007-05-11 Thread Ruediger Pluem
On 05/11/2007 11:23 PM, Mladen Turk wrote: And of course once you introduce wild char maps there must be some sort of exclusion rules. ProxyPass /*/foo/* balancer://bar then for example by extending ProxyBlock ProxyBlock /*/foo/*.gif balancer://bar or by having an ! in front of path

Re: ProxyPass globbing

2007-05-11 Thread Jim Jagielski
On May 11, 2007, at 5:23 PM, Mladen Turk wrote: Jim Jagielski wrote: 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

Re: ProxyPass globbing

2007-05-11 Thread Jim Jagielski
On May 11, 2007, at 5:39 PM, Nick Kew wrote: On Fri, 11 May 2007 15:19:58 -0400 Jim Jagielski [EMAIL PROTECTED] wrote: 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

Re: ProxyPass globbing

2007-05-11 Thread Jim Jagielski
On May 11, 2007, at 5:56 PM, Ruediger Pluem wrote: On 05/11/2007 11:23 PM, Mladen Turk wrote: And of course once you introduce wild char maps there must be some sort of exclusion rules. ProxyPass /*/foo/* balancer://bar then for example by extending ProxyBlock ProxyBlock /*/foo/*.gif