質問
次のゲストOSの手順の最後で、mod_dumpioによるリクエスト内容が/var/log/httpd/error_log
に出力されない理由をご教示ください。
環境
- Vagrant 1.7.4
- VirtualBox 5.0.10 r104061
ホストOSの手順
bash
1vagrant box add centos71 https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box 2mkdir centos71 3cd centos71 4vagrant init centos71 5vagrant up
ゲストOSの手順
bash
1$ sudo su 2# yum -y install httpd 3# echo 'LoadModule dumpio_module modules/mod_dumpio.so' >> /etc/httpd/conf/httpd.conf 4# echo 'DumpIOInput On' >> /etc/httpd/conf/httpd.conf 5# echo 'LogLevel debug' >> /etc/httpd/conf/httpd.conf 6# service httpd configtest 7[Tue Jan 26 06:59:50.539590 2016] [so:warn] [pid 2399] AH01574: module dumpio_module is already loaded, skipping 8AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message 9Syntax OK 10# systemctl restart httpd 11# curl -X POST http://localhost/hoge/fuga -d 'hoge=fuga' 12# grep 'dumpio' /var/log/httpd/error_log 13[Tue Jan 26 07:00:07.360689 2016] [so:warn] [pid 2402] AH01574: module dumpio_module is already loaded, skipping
宜しくお願い致します。
以上
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/01/26 10:07