Update .htaccess

pull/93/head
qkqpttgf 2020-07-19 11:23:21 +08:00 committed by GitHub
parent 50d78ee6df
commit 9bf62b0af8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -1,15 +1,15 @@
# apache
# LoadModule rewrite_module modules/mod_rewrite.so
# AllowOverride All
# # Apache
# # LoadModule rewrite_module modules/mod_rewrite.so
# # AllowOverride All
RewriteEngine On
RewriteRule ^(.*) index.php?/$1 [L]
#-----------------------------------
# nginx
###-----------------------------------
# # nginx
# rewrite ^(.*) /index.php?/$1 last;
#
# caddy
# # caddy
# rewrite {
# to index.php?/$1
# }
#-----------------------------------
###-----------------------------------