disable rdns lookup on Apache access log
Hello
is someone know how i can disable rdns lookup on Apache access log ?
for example check this log line :
msnbot-157-55-39-143.search.msn.com - - [02/Aug/2015:04:46:36 -0400] "GET /showthread.php?t=72811 HTTP/1.1" 200 14849 "-" "Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)"
-
In: /usr/local/apache/conf/httpd.conf
If you didn't find it, add it:HostnameLookups Off0 -
In:
/usr/local/apache/conf/httpd.conf
If you didn't find it, add it:HostnameLookups Off
Hello Thank you for reply, I put this config on httpd.conf before I post this topic but it doesn't work .0 -
Hi all I edited the httpd.conf and replace %h with %a in LogFormat lines . 0
Please sign in to leave a comment.
Comments
4 comments