Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I run an apache2 server with some vhosts (50-100). A lot of these do not have favicon.ico files, cluttering the error logs with messages like

[Thu Mar 21 14:07:40 2013] [error] [client 84.xx.xx.xx] File does not exist: /var/www/somevhost/public_html/favicon.ico

Is there a way to disable logging of these errors if the file is favicon.ico? I've read this question but the problem is that for that to work all vhost files need to be altered, which isn't very convenient.

share|improve this question

Creating a 0-byte file named favicon.ico should end the flow of 404 errors.

share|improve this answer
It will for now, but as soon as a new vhost is added or the user changes the website the errors will start again, so not really a permanent solution. – dtech Apr 18 '13 at 20:50

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.