disable apache dummy txt?

astra

Verified User
Joined
Mar 4, 2009
Messages
94
Hi,

The apache dummy spams our access_log full with:

Code:
::1 - - [20/Jul/2011:14:38:35 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:38:36 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:04 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:05 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:06 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:07 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:08 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:10 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:14 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:39:15 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:40:18 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [20/Jul/2011:14:40:26 +0200] "OPTIONS * HTTP/1.0" 200 138

Also on /server-stats i see:

Code:
66-0	-	0/0/9	. 	0.29	2324	0	0.0	0.00	0.02 	::1	srv1.*.com	OPTIONS * HTTP/1.0
67-0	-	0/0/2	. 	0.00	2357	0	0.0	0.00	0.00 	::1	srv1.*.com	OPTIONS * HTTP/1.0
68-0	-	0/0/4	. 	0.00	2379	0	0.0	0.00	0.00 	::1	srv1.*.com	OPTIONS * HTTP/1.0
69-0	-	0/0/4	. 	0.00	2373	0	0.0	0.00	0.00 	::1	srv1.*.com	OPTIONS * HTTP/1.0
70-0	-	0/0/116	. 	2.85	1915	0	0.0	0.00	0.45 	::1	srv1.*.com	OPTIONS * HTTP/1.0
71-0	-	0/0/122	. 	3.99	1934	0	0.0	0.00	1.31 	::1	srv1.*.com	OPTIONS * HTTP/1.0
72-0	-	0/0/46	. 	2.27	2090	0	0.0	0.00	0.32 	::1	srv1.*.com	OPTIONS * HTTP/1.0
73-0	-	0/0/10	. 	0.26	2322	0	0.0	0.00	0.00 	::1	srv1.*.com	OPTIONS * HTTP/1.0

Is there a solution to stop this msg?

Thanks a lot.
 
Last edited:
Oke with i solved the problem into the access_log:
Code:
<IfModule log_config_module>
    #replace %b with %O for more accurate logging
    <IfModule mod_logio.c>
      LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
      LogFormat "%h %l %u %t \"%r\" %>s %O" common
      LogFormat "%O" bytes
      SetEnvIf Remote_Addr "::1" loopback
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    CustomLog /var/log/httpd/access_log common env=!loopback
</IfModule>

add SetEnvIf Remote_Addr "::1" loopback and env=!loopback i disable the msg (::1 - - [20/Jul/2011:14:38:35 +0200] "OPTIONS * HTTP/1.0" 200 138)

So last question how can i remove the msg from the /server-status?
 
Last edited:
Back
Top