📜  cpanel 中 laravel 的默认索引页面 - PHP 代码示例

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

代码示例1
# on cpanel, set document root to Laravels 'public' folder
# put .htaccess to 'public_html' / root directory

RewriteEngine on
RewriteBase /frameworkRootFolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /frameworkRootFolder/index.php [L,QSA]