📜  laravel apache 公共文件夹 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:38.885000             🧑  作者: Mango

代码示例1
//Laravel -> Jump to /public by default
//On the root file create an htaccess file with this data:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(.*)$ /public/$1 [L,QSA]