I have a website that I successfully use the following url rewrite on:
RewriteRule ^(.*)_r-(.*)/calculator.html$ /calcadd.php?rest_id=$1 [L]
As my website has evolved I've decided it would be helpful to be able to pass some additional parameters to this page. So I tried to update the url to include a variable after the .html. Here's what I tried:
RewriteRule ^(.*)_r-(.*)/calculator.html?ids=(.*)$ /calcadd.php?rest_id=$1&ids=$3 [L]
This doesn't work, I get a page not found error. And just in case it wasn't clear, this is NOT a mod_rewrite isn't enabled or whatever problem. All my other rewrites work just fine, so mod_rewrite is enabled, allow override is ALL, etc.
Thanks!