📜  php 路由 htaccess - PHP 代码示例

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

代码示例1
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]