Laravel 4 removing public from URL

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

    Add following code to htaccess file. It may helps you.

    
    RewriteEngine On
    
    RewriteRule ^(.*)$ public/$1 [L]
    
    

提交回复
热议问题