I have a program a.php. It takes 2 strings: a and b (which doesn’t have any _ inside), and a float number. The number can be omitted with a default value.
What’s wrong with the following rule?
RewriteRule ^(.*)_([^_]+)\.htm$ a.php?f=$1&t=$2 [NC]
RewriteRule ^(.*)_([^_]+)\.htm#([0-9.]+)$ a.php?f=$1&t=$2&amt_from=$3 [NC]
Thank you.
Are you getting a 500 error? if so you should note that # is a comment, and the rest of your code isn’t being parsed