2020-03-11 13:10:51 +00:00
|
|
|
# apache
|
2020-03-13 03:03:16 +00:00
|
|
|
# LoadModule rewrite_module modules/mod_rewrite.so
|
|
|
|
# AllowOverride All
|
2019-12-30 14:07:18 +00:00
|
|
|
RewriteEngine On
|
|
|
|
RewriteRule ^(.*) index.php?/$1 [L]
|
2020-03-11 13:10:51 +00:00
|
|
|
|
|
|
|
#-----------------------------------
|
|
|
|
# nginx
|
2020-03-20 04:58:08 +00:00
|
|
|
# rewrite ^(.*) /index.php?/$1 last;
|
2020-03-13 03:03:16 +00:00
|
|
|
#
|
2020-03-11 13:10:51 +00:00
|
|
|
# caddy (not sure)
|
|
|
|
# rewrite {
|
2020-03-13 03:03:16 +00:00
|
|
|
# to index.php?/$1
|
2020-03-11 13:10:51 +00:00
|
|
|
# }
|
|
|
|
#-----------------------------------
|