.htaccess - htaccess RewriteRule 404 Error -
i want change url
http://localhost/redhat/movbase-backbone/php/sql/movie.php into this
http://localhost/redhat/movbase-backbone/movie i tried creating rule in .htaccess file whenever go /movie 404 error.
here rule
rewriteengine on #rewritebase / rewriterule ^movie/?$ php/sql/movie.php [nc,l] i have tried changing movie.php out other files in order see if work , didn't problems.
is there wrong rule?
in .htaccess file located @ /redhat/movbase-backbone/.htaccess:
rewriteengine on rewritebase /redhat/movbase-backbone/ rewriterule ^movie/?$ php/sql/movie.php [nc,l] this assumes document root @ http://localhost/.
do want allow both movie , movie/?
Comments
Post a Comment