On 11/16/06, Darly Coupet < apache@xxxxxxxx> wrote:
> RewriteRule
> ^/merchant.mv\?Screen=CTGY&Store_Code=AWLAS&Category_Code=Abc+Xyz$
> http://www.sitename.com/index.php?action="">
> [R=301,L]
>
> I have tried the above, but not working.
Telling us that it is "not working" is not a good way to get help.
Tell us exactly what happened.
With mod_rewrite, you need to use the RewriteLog to debug.
But your first problem is that you need to read the docs for
RewriteRule, and in particular the box that is titled "Query String".
It tells you that RewriteRule doesn't match against the query string.
You need to use RewriteCond %{Query_String}
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
" from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx