Update .htaccess

pull/31/head^2
qkqpttgf 2020-03-11 21:10:51 +08:00 committed by GitHub
parent f0e25b9ef5
commit 43b8d4f59b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -1,2 +1,13 @@
# apache
RewriteEngine On RewriteEngine On
RewriteRule ^(.*) index.php?/$1 [L] RewriteRule ^(.*) index.php?/$1 [L]
#-----------------------------------
# nginx
# rewrite ^(.*) index.php?/$1 last;
# caddy (not sure)
# rewrite {
# to /index.php?/$1
# }
#-----------------------------------