LoginSignup
2
3

More than 5 years have passed since last update.

apache の POST の内容をログに吐かせて確認する

Posted at

1. httpd.conf を編集する

sudo vi /etc/httpd/conf/httpd.conf

↓コメントを外す

LoadModule dumpio_module modules/mod_dumpio.s

↓行追加

DumpIOInput On

LogLevel を warn から debug に変更

#LogLevel warn
LogLevel debug

2. httpd を restart する

sudo service httpd restart

3. error_log を確認する

sudo tail /var/log/httpd/error_log

<環境>
CentOS6

<参考>
http://d.hatena.ne.jp/turkey_hate/20140128

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3