Mod_rewrite not work


#1

hi all,
i have a php website and i want to replace php extensions to html
ex: abc.com/my-age.php?age=20
to abc.com/my-age-20.html

can anybody help me?
im using this

Options +FollowSymLinks RewriteEngine On RewriteRule ^my-age-([0-9]+).html /my-age.php?age=$1 [QSA,L]

but it not work
in forefox it show this error:

[code]The page isn’t redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

This problem can sometimes be caused by disabling or refusing to accept cookies.[/code]

and in chrome it show this:

[code]The abc.com page isn’t working

abc.com redirected you too many times.
ERR_TOO_MANY_REDIRECTS[/code]

please help
thank you!