laravel - http://127.0.0.1/tp/index.php/movies change this url to http://127.0.0.1/tp/movies using .htaccess -


i using laravel framework mtdb wanna change http://127.0.0.1/tp/index.php/movies url http://127.0.0.1/tp/movies means want add remove index.php using .htaccess

here .htaccess

i have

<ifmodule mod_rewrite.c> <ifmodule mod_negotiation.c>     options -multiviews </ifmodule>  rewriteengine on  # redirect trailing slashes... rewriterule ^(.*)/$ /$1 [l,r=301]  # handle front controller... rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^ index.php [l] 

there many solutions removing index.php such laravel 4 remove index.php url

but suggest rename server.php in laravel root folder index.php , copy .htaccess file /public directory laravel root folder.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -