如何安装server-status模块

问答中心分类: OneinStack如何安装server-status模块
sunbingchen asked 8 年 ago
我创建了个apache监控任务需要用到Server Status,但是查看了下未安装server-status模块,我想咨询下如何编译安装server-status模块

1 Answers
oneinstack answered 8 年 ago
vi /usr/local/apache/conf/vhost/0.conf 加上下面红色行
</Directory>
<Location /server-status>
    SetHandler server-status
    Order Deny,Allow
    Deny from all
    Allow from all
</Location>
</VirtualHost>