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
# LoadModule rewrite_module modules/mod_rewrite.so
# AllowOverride All
RewriteEngine On
RewriteRule ^(.*) index.php?/$1 [L]
#-----------------------------------
# nginx
# rewrite ^(.*) index.php?/$1 last;
#
# caddy (not sure)
# rewrite {
# to /index.php?/$1
# to index.php?/$1
# }
#-----------------------------------