Dealing with question marks????????
Posted: Sun Oct 16, 2005 6:01 pm
Trying to create a .htaccess RewriteRule that will map
question.php?1 to query?number=1
but niether of the following ways to deal with the '?' (question mark) work:
RewriteRule ^question \.php\?1$ query?number=$1
RewriteRule ^question \.php$?^([0-9])$ query?number=$1
How do I deal with the question mark in the pattern without having the regular expression mistake the '?' in the URL as the ? operator?
Thank you.
question.php?1 to query?number=1
but niether of the following ways to deal with the '?' (question mark) work:
RewriteRule ^question \.php\?1$ query?number=$1
RewriteRule ^question \.php$?^([0-9])$ query?number=$1
How do I deal with the question mark in the pattern without having the regular expression mistake the '?' in the URL as the ? operator?
Thank you.