Parcourir la source

新建 .htaccess

聆听 il y a 7 ans
Parent
commit
4f78d58044
1 fichiers modifiés avec 10 ajouts et 0 suppressions
  1. 10 0
      .htaccess

+ 10 - 0
.htaccess

@@ -0,0 +1,10 @@
+RewriteEngine
+on
+
+#不显示index.php
+
+RewriteCond %{REQUEST_FILENAME}
+!-d
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^(.*)$ index.php/$1
+[QSA,PT,L]