OneManager-php/.htaccess

25 lines
510 B
ApacheConf
Raw Normal View History

2020-07-19 03:23:21 +00:00
# # Apache
# # LoadModule rewrite_module modules/mod_rewrite.so
# # AllowOverride All
2019-12-30 14:07:18 +00:00
RewriteEngine On
2020-08-26 09:16:02 +00:00
# RewriteCond $1 !^(.well-known)
2019-12-30 14:07:18 +00:00
RewriteRule ^(.*) index.php?/$1 [L]
2020-03-11 13:10:51 +00:00
2020-07-19 03:23:21 +00:00
###-----------------------------------
### nginx
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
2020-03-13 03:03:16 +00:00
#
### caddy
2020-03-11 13:10:51 +00:00
# rewrite {
2020-03-13 03:03:16 +00:00
# to index.php?/$1
2020-03-11 13:10:51 +00:00
# }
2020-09-27 07:43:48 +00:00
#
### caddy2 json
# "handler": "rewrite",
# "uri": "index.php?{http.request.uri.query}"
#
### caddy2 Caddyfile
# rewrite * index.php?{query}
#
2020-07-19 03:23:21 +00:00
###-----------------------------------