ソースを参照

修改伪静态

jun 2 ヶ月 前
コミット
d2bd73fce9
2 ファイル変更10 行追加0 行削除
  1. 5 0
      public/.htaccess
  2. 5 0
      public/nginx.htaccess

+ 5 - 0
public/.htaccess

@@ -0,0 +1,5 @@
+location / {
+if (!-e $request_filename){
+rewrite ^/(.*)$ /index.php/$1 last;
+}
+}

+ 5 - 0
public/nginx.htaccess

@@ -0,0 +1,5 @@
+location / {
+if (!-e $request_filename){
+rewrite ^/(.*)$ /index.php/$1 last;
+}
+}