Hi Cherokee Fans!

I'm trying to create a redirect for these urls:
foo/index.php?project=test&template=page
foo/index.php?project=test&template=page&var1=1
foo/index.php?project=test&template=page&var1=1&var2=2

As you can see, only project and template are always there, the rest of 
should directly be passed to index.php. The new urls should look like this:
redir/test/page.html
redir/test/page.html?var1=1
redir/test/page.html?var1=1&var2=2

I've tried several things, but never with a lot of success.

Redir "^/(.+)/(.+)\.html(.+)$" "/test/index.php?project=$1&template=$2$3"

Thanks for any hint!
Remo 

_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to