From c6ee554fadd7176cce5a311a723a759d32e538ce Mon Sep 17 00:00:00 2001 From: rainbro <33367671@qq.com> Date: Mon, 21 Oct 2024 11:56:53 +0800 Subject: [PATCH] httpd.template --- httpd.template | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/httpd.template b/httpd.template index e50f1df..24b927b 100644 --- a/httpd.template +++ b/httpd.template @@ -355,7 +355,7 @@ IncludeOptional conf.d/*.conf # 11785 端口号填写为slb或容器(slb端口号=容器端口号)的端口号 -ServerName kuaileorder.gavinlau.cn +ServerName www.kuailebangshou.cn DocumentRoot /var/www/html ErrorLog /var/log/httpd/kuaileorder-error_log @@ -367,4 +367,19 @@ RewriteRule ^/css/(.*)$ /view/css/$1 [L] RewriteRule ^/js/(.*)$ /view/js/$1 [L] RewriteRule ^/font/(.*)$ /view/font/$1 [L] RewriteRule ^(.*)$ /index.php?argv=$1 [L] + +#DENY FILES + + Order allow,deny + Deny from all + + + + SetOutputFilter DEFLATE + Options FollowSymLinks + AllowOverride All + Require all granted + DirectoryIndex index.php index.html index.htm default.php default.html default.htm + + -- 1.8.3.1