Update .htaccess

This commit is contained in:
qkqpttgf 2020-03-13 11:03:16 +08:00 committed by GitHub
parent 4e28e64867
commit 8bb735ef61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

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
# }
#-----------------------------------