为什么我不能让 Apache2 mod_dumpio 在 Lucid Lynx Ubuntu 下工作? [英] Why can't I get Apache2 mod_dumpio working under Lucid Lynx Ubuntu?

查看:22
本文介绍了为什么我不能让 Apache2 mod_dumpio 在 Lucid Lynx Ubuntu 下工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了以下尝试以正确设置 mod_dumpio:

I did the following to try to set mod_dumpio up properly:

  1. 使用 a2enmod 启用 mod_dumpio
  2. 在 apache2.config 中将 LogLevel 更改为调试"
  3. 在 apache2.config 中添加了DumpIOInput On"、DumpIOOutput On"和DumpIOLogLevel debug"
  4. 发出/etc/init.d/apache2 restart"来重启Apache
  5. 发出apache2ctl -t -D DUMP_MODULES"以确保 mod_dumpio 已加载

我正在查看/var/log/apache2/error.log,但没有看到太多,当然也不是所有输入和输出的转储.

I'm watching /var/log/apache2/error.log, but not seeing much there, and certainly not a dump of all input and output.

有人可以帮忙吗?

推荐答案

问题显然是只有一个我的 VirtualHosts(在/etc/apache2/sites-enabled 中定义)有一个 LogLevel声明这不是调试,因此由于我无法理解的原因干扰了 mod_dumpio 的整体行为:)

The problem was apparently that just one of my VirtualHosts (as defined in /etc/apache2/sites-enabled) had a LogLevel declared that was something other than debug, thus interfering with the overall behavior of mod_dumpio for reasons that escape me :)

这篇关于为什么我不能让 Apache2 mod_dumpio 在 Lucid Lynx Ubuntu 下工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆