Re: [EMAIL PROTECTED] rewrite rule problem

2007-01-31 Thread Krist van Besien
On 1/31/07, Kailash Vyas <[EMAIL PROTECTED]> wrote: Hi I need some help regarding rewrite rule. for example http://example.com/kailash/test should redirect to http://example.com/test?name=kailash I have written this rule for redirection RewriteRule ^([^/]+)/([^/]+)/?$http://example.com/

[EMAIL PROTECTED] rewrite rule problem

2007-01-31 Thread Kailash Vyas
Hi I need some help regarding rewrite rule. for example http://example.com/kailash/test should redirect to http://example.com/test?name=kailash I have written this rule for redirection RewriteRule ^([^/]+)/([^/]+)/?$http://example.com/$2?name=$1 This works fine but if the url is http://