Init 1.0 codes
This commit is contained in:
16
.htaccess
Normal file
16
.htaccess
Normal file
@@ -0,0 +1,16 @@
|
||||
# 增加请求体大小限制
|
||||
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"
|
||||
Reference in New Issue
Block a user