Browse Source

修复Apache伪静态规则错误的问题

UnknownO 3 years ago
parent
commit
97e73466b3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .htaccess

+ 1 - 1
.htaccess

@@ -2,5 +2,5 @@
     RewriteEngine on
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteCond %{REQUEST_FILENAME} !-f
-    RewriteRule (.*) ?uri=/$1
+    RewriteRule ^(.*) ?uri=/$1&args=%{QUERY_STRING}
 </IfModule>