Page 1 of 1

Can't get mod_rewrite to work... I must be misunderstanding

Posted: Wed Nov 15, 2006 4:03 pm
by Luke
OK, I've got this rule...

Code: Select all

RewriteCond %{REQUEST_URI} ^/search/?(.*) [NC]
RewriteRule (.*) /merchant2/merchant.mvc?Store_Code=BS&Screen=SRCH&%1 [L]
But when I go to /search/?search=test it does not work... what is wrong with my mod rule? I thought that all data after the question mark in the url would be written into where the %1 is, but that's not working... ?