Explorar o código

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

UnknownO %!s(int64=3) %!d(string=hai) anos
pai
achega
97e73466b3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>