📜  laravel .htaccess 设置 - PHP 代码示例

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

代码示例2
Options +FollowSymLinks -Indexes

RewriteEngine On

RewriteCond %{HTTP:Authorization}

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} !-d

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^ index.php [L]