📜  htaccess 路由到 index.php - Shell-Bash 代码示例

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

代码示例1
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ /index.php [L,QSA]


Using Sub directory:
RewriteRule ^.*$ /mvc/index.php [L,QSA]