본문 바로가기
Linux/Log

Web Parameter _ Apache Post Logging

by PeterC 2020. 7. 7.

ㅁ 필수 패키지

 1. httpd-devel

 

ㅁ 설치 및 환경설정

[Web@CentOS Download]# wget -O mod_dumpost.zip http://codeload.github.com/danghvu/mod_dumpost/zip/master
[Web@CentOS Download]# unzip mod_dumpost.zip
[Web@CentOS Download]# ll
total 20
drwxr-xr-x. 3 root root    215 Jul 7 04:20 mod_dumpost-master
-rw-r--r--.  1 root root 17796 Jul 7 04:20 mod_dumpost.zip
[Web@CentOS Download]# cd mod_dumpost-master
[Web@CentOS mod_dumpost-master]# make
[Web@CentOS mod_dumpost-master]# make install
[Web@CentOS mod_dumpost-master]# vi /etc/httpd/conf/httpd.conf
# Add settings
DumpPostMaxSize 1024
DumpPostHeaderAdd Cookie Content-Type
LogLevel Info
:wq
[Web@CentOS mod_dumpost-master]# systemctl restart Networkmanager.service

References

1. 얼룩푸우 _ <아파치 포스트 로그 남기기>

https://m.blog.naver.com/PostView.nhn?blogId=budget74&logNo=220982591558&proxyReferer=https:%2F%2Fwww.google.com%2F

 

'Linux > Log' 카테고리의 다른 글

Find & Perl Command - 문자열 검색 및 치환  (0) 2020.10.06