Centos8服务器安全高级篇(五 apache status 安全)
第5集 Apache Status安全
一.开启status模块:
LoadModule status_module modules/mod_status.so
二.设置status配置文件:
1.httpd.conf
Include conf/extra/status.conf
2./usr/local/apache/conf/extra/status.conf
<Location /status>
SetHandler server-status
Require all granted
三.status认证安全
1.httpd.conf
Include conf/extra/status.conf
2./usr/local/apache/conf/extra/status.conf
<Location /status>
SetHandler server-status
AllowOverride AuthConfig
AuthName “bbs.ityzm.com”
AuthType Basic
AuthUserFile /websafe/.htpasswd
require valid-user
本作品采用《CC 协议》,转载必须注明作者和本文链接