本文目录导读: 前言 CentOS和service命令 安装服务 service install httpd 启动和停止服务 service start httpd service stop httpd 重启服务 service restart httpd 查看服务状态 service status httpd 禁用和启用服务 service disable httpd service enabl
1.在client的httpd.conf中添加如下 sudo vim /alidata/server/httpd/conf/httpd.conf <Location /server-status> SetHandler server-status Allow from 127.0.0.1 Order deny,allow Deny from all </Location>