forked from qkqpttgf/OneManager-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
31 lines (30 loc) · 672 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# # Apache
# # LoadModule rewrite_module modules/mod_rewrite.so
# # AllowOverride All
RewriteEngine On
# RewriteCond $1 !^(.well-known)
RewriteRule ^(.*) index.php?/$1 [L]
###-----------------------------------
### nginx
# rewrite ^/(?!.well-known)(.*)$ /index.php?/$1 last;
#
### nginx Subdirectory 在子目录中使用
# location /OneManager2/ {
# rewrite ^/(.*)$ /OneManager2/index.php?/$1 last;
# }
#
### caddy
# rewrite {
# to index.php?/$1
# }
#
### caddy2 Caddyfile
# @try_files {
# not path /.well-known/*
# file {
# try_files index.php
# }
# }
# rewrite @try_files {http.matchers.file.relative}
#
###-----------------------------------