Update .htaccess

This commit is contained in:
qkqpttgf
2020-03-13 11:03:16 +08:00
committed by GitHub
parent 4e28e64867
commit 8bb735ef61
+4 -2
View File
@@ -1,13 +1,15 @@
# apache # apache
# LoadModule rewrite_module modules/mod_rewrite.so
# AllowOverride All
RewriteEngine On RewriteEngine On
RewriteRule ^(.*) index.php?/$1 [L] RewriteRule ^(.*) index.php?/$1 [L]
#----------------------------------- #-----------------------------------
# nginx # nginx
# rewrite ^(.*) index.php?/$1 last; # rewrite ^(.*) index.php?/$1 last;
#
# caddy (not sure) # caddy (not sure)
# rewrite { # rewrite {
# to /index.php?/$1 # to index.php?/$1
# } # }
#----------------------------------- #-----------------------------------