Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know how I can stop Apache from logging this? It has no value, that I can see, and just clutters log in batches.

::1 - - [15/Sep/2011:10:26:29 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Sep/2011:10:26:30 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Sep/2011:10:26:31 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Sep/2011:10:26:32 -0700] "OPTIONS * HTTP/1.0" 200 -
::1 - - [15/Sep/2011:10:26:33 -0700] "OPTIONS * HTTP/1.0" 200 -
share|improve this question

It looks like internal dummy connection. So, you can exclude them from your log with:

SetEnvIf Remote_Addr "::1" dontlog

and add env=!dontlog to the end of CustomLog directive:

CustomLog logs/access_log combined env=!dontlog
share|improve this answer
sry...I need to back up a bit - I'm a complete Apache newbist. Are these two lines to be added to httpd.conf or should they be executed from the a shell on the server? Apologies for my ignorance. – Meltemi Sep 16 '11 at 21:01
They should be added to httpd.conf. – quanta Sep 17 '11 at 1:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.