having problems matching "?"

New to mod_rewrite? This is a good place to start.

having problems matching "?"

Postby summer » Wed Oct 29, 2003 5:19 pm

I'm trying to get: /index.cfm?fuseaction=products.detail&Product_ID=110
to redirect to : /products/110

but I'm having problems matching "?". here are the things i've tried so far:

(.) - seams to match everything but a ?
(\?) - escaping the ? seams to look for zero or one occurance of \
([^0-9]) - which seams to match amything but numbers and the ?

Anyone have any ideas. This is going to kill me off. Here's my rule as is:
RewriteRule ^index.cfm\?fuseaction=products.detail&Product_ID=(.*) /products/$1 [R]

thanks
summer
summer
 

Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 37 guests

cron