Solved

How do i get rid of this error in php error log ?  File does not exist:favicon.ico

Posted on 2009-05-12
3
264 Views
Last Modified: 2013-12-13
We are having issues with our new php/apache/linux server, so i am trying to clean up some of the warning messages.  The error below appears quite often, but i can't find a place in the app that calls for this .icon file.  I have done a search of the app, but no reference to it.  How can search for and fix this issue
[Fri Mar 06 18:20:29 2009] [error] [client 192.168.2.18] File does not exist: /usr/local/clientville_Apache1/Ourstructures.techsolution.org/favicon.ico

Open in new window

0
Comment
Question by:justmelat
3 Comments
 
LVL 3

Expert Comment

by:osintsev
Comment Utility
favicon.ico requested by users web browser and some search engines spiders. It's just an icon that appears with the URL of the site, browser requests this file automatically. Very similar that your Apache redirects all 404 errors to your php script, for example, such as working Drupal with clean urls feature.
0
 
LVL 3

Accepted Solution

by:
Xenus99 earned 188 total points
Comment Utility
If the error redirects you to a 404 page then you can do the following:

http://www.trilithium.com/johan/2005/02/no-favicon/

Otherwise you can put a simple ico the get rid or the error on the logs

http://www.redantigua.com/favicon.html
0
 
LVL 7

Assisted Solution

by:mchkorg
mchkorg earned 187 total points
Comment Utility
It's the icon on the left of your address bar in your browser, whatever the browser is
Either you create a favicon.ico file on your web server's root, it must be a 16x16 GIF file I guess (not sure)
Either you don't and don't care

Or, you get http://www.google.fr/favicon.ico, saves it on your own server
It'll remove the "error" and you won't have to loose time to create one... :)
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now