[us...@httpd] [solved] [us...@httpd] Rewrite all except one case

2009-04-20 Thread Dietmar . Mueller
> Best solution would be to have a different rule in front of your other rule: > (And you don't need the P, in fact it might cause loops) > For example: > RewriteRule ^/foo$ /abc/ers [L] > RewriteRule ^/foo/(.*) /abc/$1 > The L flag cause apache to ignore subsequent rules. > Krist Hi Kri

Re: [us...@httpd] Rewrite all except one case

2009-04-16 Thread Krist van Besien
On Thu, Apr 16, 2009 at 10:07 AM, wrote: > Hi all, > > I play a long time with rewrite to get follow rule: > > server/foo/(.*) should proxied to server/abc/$1 > > This works with > RewriteRule /foo/(.*) /abc/$1  [P] > > then all requests to directory /foo are proxied (also > with arguments) to /a

Re: [us...@httpd] Rewrite all except one case

2009-04-16 Thread Doug Bell
On Apr 16, 2009, at 3:07 AM, dietmar.muel...@eurotours.at wrote: Hi all, I play a long time with rewrite to get follow rule: server/foo/(.*) should proxied to server/abc/$1 This works with RewriteRule /foo/(.*) /abc/$1 [P] then all requests to directory /foo are proxied (also with arguments

[us...@httpd] Rewrite all except one case

2009-04-16 Thread Dietmar . Mueller
Hi all, I play a long time with rewrite to get follow rule: server/foo/(.*) should proxied to server/abc/$1 This works with RewriteRule /foo/(.*) /abc/$1 [P] then all requests to directory /foo are proxied (also with arguments) to /abc/ but now I need one exception: /foo should be proxied /