Subject: | Rewriting rule, capturing and transforming variable |
Posted by: | Xanadonf (xanado…@gmail.com) |
Date: | Tue, 29 Mar 2011 |
Hi everyone !
Either I'm tired this morning or I'm just bad ...
I want to translate this user request:
/player.swf?file=123&a=plop&b=plip&...
to this server-side one:
/embededPlayer?media=123&a=plop&b=plip&...
Basically
RewriteRule ^player.swf?file=(.*)$ ... [QSA,L] does not match to
the rule, and I did not succed in writing a %{QUERY_STRING} rule
beginning with
RewriteCond %{QUERY_STRING} file=(.*)
Please can someone point me to the right direction please ? What
should be this rewrite ?
Many thanks in advance.
Antony