I want to rewrite url from
http://localhost/Ent/Movie/Info.php?year=2011&movie=any_movie
to
http://localhost/Ent/Movie/Info/2011/any_movie
I have tried many code in .htaccess,like
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteBase /Ent/Movie/
RewriteRule ^Info/([0-9]+)/([a-zA-Z0-9]+)$ Info.php?year=$1&movie=$2 [L]
here note that,my .htaccess file is in the root of website.
is my .htaccess location wrong or code inside .htaccess?