Laravel 4 removing public from URL

后端 未结 20 2168
一个人的身影
一个人的身影 2020-11-29 04:33

So, I\'m running xampp on Windows. I\'m currently trying to get familiar with the laravel framework. Now, when thats pointed out. How can i be able to access my laravel appl

20条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-29 05:00

    I'm using L5, This works for me fine:

    1. Rename the server.php in the your Laravel root folder to index.php
    2. copy the .htaccess file from /public directory to your Laravel root folder.

    -- Thatz it!!!

提交回复
热议问题