Przeglądaj źródła

更新apache 下伪静态文件

sugar1569 7 lat temu
rodzic
commit
3b6b543c16
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      .htaccess

+ 7 - 0
.htaccess

@@ -0,0 +1,7 @@
+<IfModule mod_rewrite.c>
+  Options +FollowSymlinks -Multiviews
+  RewriteEngine On
+  RewriteCond %{REQUEST_FILENAME} !-d
+  RewriteCond %{REQUEST_FILENAME} !-f
+  RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
+</IfModule>