📜  htaccess 重写规则 - 任何代码示例

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

代码示例1

  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]