리자

apache log 에 접속자의 cookie 정보를 포함하지 않도록 설정하기

httpd.conf 파일에서 Cookie 부분을 나오지 않게 해주면 됩니다.

 

<IfModule log_config_module>

    #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

 

ps. 한참 찾았네요. ㅠㅠ

|

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고