Update .htaccess

pull/31/head^2
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 # 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
# } # }
#----------------------------------- #-----------------------------------