Laravel 4 removing public from URL

后端 未结 20 1982
一个人的身影
一个人的身影 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 04:56

    Simple Steps To follow:

    1. Rename server.php (In Root directory) to index.php
    2. Copy .htaccess file from public directory to root directory
    0 讨论(0)
  • 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!!!

    0 讨论(0)
提交回复
热议问题