Files
leonapp/.htaccess
Leonmmcoset 0f6020c647 feat: 为管理界面添加Font Awesome图标并优化UI
refactor: 更新配置文件和密码设置

style: 统一按钮和表单元素的图标样式
2025-07-16 17:19:40 +08:00

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"