The Apache error log is filled with complaints about not being able to find /var/www/[sitename]/favicon.ico where [sitename] is one of four sites running off the same code base. In each case the directory in /var/www is linked to the bin/drupal-6.22 (or whatever current version) directory. So, in effect, it is complaining about /var/www/bin/drupal-6.22/favicon.ico not existing. It doesn't exist, of course, because the favicon.ico for each site is in the drupal-6.22/sites/[siteURL]/files directory. We are getting the correct favicon.ico displayed when using the site, but I would like to trim the number of error in the Apache log to make it easier to see real problems.
What is the recommendation here?
Comments
My workaround was just to
My workaround was just to make another copy of 'favicon.ico' and put it in the /var/www/[sitename]/ directory.
OK, I'm trying that. I was
OK, I'm trying that. I was afraid that would lose the custom ones, but so far it seems to be OK. One more thing to remember on a version upgrade ....
I've heard (i.e. think I read
I've heard (i.e. think I read it somewhere but can't recall it clearly) that some browsers don't respect Drupal telling them where to find the favicon.ico file and will look for it in the site's root directory regardless. So Apache issues aside, I don't think it hurts to have a copy in each location.
I wouldn't question it except
I wouldn't question it except that there are 4 sites running on the same code, so it isn't just one favicon.ico file.