Chinaunix首页 | 论坛 | 博客
  • 博客访问: 7415570
  • 博文数量: 1756
  • 博客积分: 18684
  • 博客等级: 上将
  • 技术积分: 16232
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-02 10:28
个人简介

啥也没写

文章分类

全部博文(1756)

文章存档

2024年(2)

2023年(44)

2022年(39)

2021年(46)

2020年(43)

2019年(27)

2018年(44)

2017年(50)

2016年(47)

2015年(15)

2014年(21)

2013年(43)

2012年(143)

2011年(228)

2010年(263)

2009年(384)

2008年(246)

2007年(30)

2006年(38)

2005年(2)

2004年(1)

分类: LINUX

2009-06-24 09:44:13

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中配置如下:
 
    SetHandler server-status
    Order allow,deny
    Deny from nothing
    Allow from all
 
#
# 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
#  (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
    SetHandler server-info
    Order allow,deny
    Deny from nothing
    Allow from all
 
 
这样就可以用mod_status和mod_info模块儿了。
url分别为:
1、
访问状态页面可以每N秒自动刷新一次。
获得一个面向机器可读的状态文件
2、
 
阅读(1376) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~