17 lines
547 B
ApacheConf
17 lines
547 B
ApacheConf
# 增加请求体大小限制
|
|
LimitRequestBody 524288000
|
|
|
|
# 错误处理
|
|
ErrorDocument 500 /error_pages/500.html
|
|
ErrorDocument 404 /error_pages/404.html
|
|
|
|
# API 伪静态规则
|
|
RewriteEngine On
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteRule ^api(/.*)?$ api.php?action=$1 [QSA,L]
|
|
Header append X-Powered-By "LeonAPP Server"
|
|
Header append X-System-Discription "LeonAPP Server System, a powerful APP store system."
|
|
Header append X-System-Author "LeonMMcoset"
|
|
Header append X-System-Email "leonmmcoset@outlook.com"
|