favicon.ico

I noticed Drupal's watchdog log filling up with "File not found"s for "/favicon.ico". Seems some web browsers ask for this file even tough we never told them it was there to get.

To tell Apache to respond with a "Forbidden" message even before the request hits Drupal, I added the following to our httpd.conf .

# People ask for a favicon.ico that we don't have and it's
# filling up our logs, so we'll forbid it.
RewriteEngine on
RewriteRule /favicon.ico - [forbidden]

Note: If we ever want to serve a favicon, we might need to remove these Apache directives.