Apache编译时加载全部模块
./configure --prefix=/usr/local/apache -enable-so --enable-modules=all --enable-mods-shared=all
httpd.conf中去掉Include的注释:
# Real-time info on requests and configuration
Include conf/extra/httpd-info.conf
conf/extra/httpd-info.conf中配置如下:
<Location /server-status>
SetHandler server-status
Order allow,deny
Deny from nothing
Allow from all
</Location>
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
ExtendedStatus On
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
SetHandler server-info
Order allow,deny
Deny from nothing
Allow from all
</Location>
这样就可以用mod_status和mod_info模块儿了。
url分别为:
1、http://servername/server-status
http://your.server.name/server-status?refresh=N
访问状态页面可以每N秒自动刷新一次。
http://your.server.name/server-status?auto
获得一个面向机器可读的状态文件
2、http://servername/server-info
分享到:
相关推荐
mod_info和mod_status这两个模块可以提供十分有用的信息,而且十分方便。 mod_status能准确地告诉你,你的服务器正在“想”什么。你可以知道有哪些人在浏览您的网站,有多少子进程在运行,以及这些进程在干吗。
LoadModule status_module modules/mod_status.so ExtendedStatus On LoadModule bw_module modules/mod_bw.dll BandwidthModule On # 启动带宽限制 ForceBandWidthModule On # 启动带宽限制 Bandwidth all 0 ...
mod_info mod_isapi mod_ldap mod_logio mod_log_config mod_log_forensic mod_mem_cache mod_mime mod_mime_magic mod_negotiation mod_nw_ssl mod_proxy mod_proxy_ajp mod_proxy_balancer mod_proxy_connect mod_...
节点的mod_status 简单的express / connect中间件,以提供“类似Apache”的/status.html页面。 安装 npm install mod_status 用法 var express = require ( 'express' ) , status = require ( '../lib/index.js'...
LoadModule info_module modules/mod_info.so LoadModule cgi_module modules/mod_cgi.so LoadModule dav_fs_module modules/mod_dav_fs.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule ...
Practical Mod Perl <br> Copyright Preface What You Need to Know Who This Book Is For How This Book Is Organized Reference Sections Filesystem Conventions Apache ...
我在改造APACHE服务器授权访问时,需要对不合法的客户端请求进行过滤。对不合法请求需要立即发送一个错误提示页面给客户端。 发送错误提示页面的程序片断如下: //非法请求作错误跳转 char *location...
介绍apache的常用监控方法。包括mod_status模块,和日志等监控方法
Apache Exporter通过HTTP从mod_status Apache模块收集统计信息,以用于Prometheus使用。 TL; DR $ docker run --name apache-exporter bitnami/apache-exporter:latest 为什么要使用Bitnami Images? Bitnami密切...
Apache and the Internet..............................................1 Apache: The Anatomy of a Web Server.........................................................1 The Apache Source ....................
该库旨在使使用Rust编程语言轻松且容易地编写Apache HTTP Server模块。 注意:该库仍处于早期开发阶段–基本功能实施后不久将提供大量文档 这是一个Apache Rust模块代码的小例子: #![feature(plugin)] #![plugin...
Webhop-Apache2 + Pagespeed Ansible角色在基于ubuntu的主机上安装apache2和google .../ var / www ) enable_pagespeed启用google pagespeed集成( false ) enable_mod_status启用apache2状态模块和端点( true ) en
2.安装apache的mod_ssl.so模块 yum -y install mod_ssl 3.若启用了防火墙需要添加https服务(service iptables status或者在使用firewall的情况下用 systemctl status firewalld) 用iptables的情况 iptables...
您必须已启用mod_status并且在Apache中可以通过127.0.0.1/localhost对其进行查看,扫描器才能正常工作。 安装 要安装,请将antiflood.php上载到您有权执行的服务器上的文件夹中。 最好以具有root权限的人身份执行此
节点-apache-状态一个用node编写的带有websockets的apache监控工具该项目处于早期阶段,我的目的是创建一个工具来监控 apache 日志以及 apache:mod-status 并生成有关当前连接的客户端、服务器负载等的实时数据。
跟踪Subversion客户端和Apache服务器通话最好的方法是什么? 我刚刚编译了二进制分发版本,当我尝试检出Subversion,我得到一个“Unrecognized URL scheme”错误。 为什么svn revert命令要有一个明确的目标?为什么...
跟踪Subversion客户端和Apache服务器通话最好的方法是什么? 我刚刚编译了二进制分发版本,当我尝试检出Subversion,我得到一个“Unrecognized URL scheme”错误。 为什么svn revert命令要有一个明确的目标?为什么...
该插件允许您利用mod_status监视Apache 2.2或2.4服务器的状态。 它主要基于MeetMe编写的插件( ),除了该仅处理Apache并用Java编写。 版本 1.0.0(发布于2015年10月24日) 科技类 该代码本身需要Java 1.7及更高...
调通sina33下的AP6212A0版本的BT 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/26 11:01 版本:V1.0 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16的parrotv1.1的官方SDK(Android...
调通sina33下的AP6212A0(WIFI+BT) 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/26 11:01 版本:V1.1 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16的parrotv1.1的官方SDK(Android...