Laravel 4 remove Index.php from URL

后端 未结 7 1306
忘掉有多难
忘掉有多难 2020-12-21 04:27

I need some help with laravel 4 application i need to remove Index.php from url i have tried the solution that has been mentioned in laravel documentation

P         


        
7条回答
  •  情书的邮戳
    2020-12-21 05:11

    I have read long posts and threads but nothing works then i found this and it works for me.

    The easiest way to do this (and the way I always use) is to open up your Command prompt or Terminal and cd into the main directory of your project then run "php artisan serve". That's it. You're done. Don't believe me? Check out http://localhost:8000 and admire your Laravel work.

    http://michaelbrooks.co.uk/post/laravel-localhost-removing-public-index-php

提交回复
热议问题