[웹서버] 특정 IP 에서 로그 남기지 않기
# 특별한 IP 에서의 로그를 남기지 않으려면
아래와 같이 한다.
<VirtualHost ip.address.of.host.some_domain.com>
ServerAdmin webmaster at host.some_domain.com
DocumentRoot /www/docs/host.some_domain.com
ServerName host.some_domain.com
LogFormat “%h %l %u %t \\”%r\\” %>s %b” common
ErrorLog logs/host.some_domain.com-error_log
SetEnvIf Remote_Addr 192.168.100.13$ do_not_log
CustomLog logs/access_log combined env=!do_not_log
</VirtualHost>
5 Responses
… [Trackback]
[…] Find More on that Topic: nblog.syszone.co.kr/archives/341 […]
… [Trackback]
[…] Find More here on that Topic: nblog.syszone.co.kr/archives/341 […]
… [Trackback]
[…] Information to that Topic: nblog.syszone.co.kr/archives/341 […]
… [Trackback]
[…] Find More on that Topic: nblog.syszone.co.kr/archives/341 […]
… [Trackback]
[…] Find More here on that Topic: nblog.syszone.co.kr/archives/341 […]