| Author |
locating a missing file
|
|
| The Chipster 2006-09-24, 6:59 pm |
| I've got this file that keeps popping up in my logs as missing, and I have
no clue where it is or what it belongs to. The file name is favicon.ico.
I'm on a lynux server with cpanel/whm. I've looked through all the files
and scripts that I've uploaded to my site but can't find it referenced in
any of them. Does anyone have a clue?
| |
|
| The Chipster wrote:
> I've got this file that keeps popping up in my logs as missing, and I
> have no clue where it is or what it belongs to. The file name is
> favicon.ico. I'm on a lynux server with cpanel/whm. I've looked
> through all the files and scripts that I've uploaded to my site but
> can't find it referenced in any of them. Does anyone have a clue?
http://www.thesitewizard.com/archive/favicon.shtml
| |
| Beauregard T. Shagnasty 2006-09-24, 6:59 pm |
| The Chipster wrote:
> I've got this file that keeps popping up in my logs as missing, and I have
> no clue where it is or what it belongs to. The file name is favicon.ico.
http://favicon.com/
If you were to construct a 16x16 pixel graphic of something representing
your site, as an .ico file, and upload it to your root directory, those
'missing' logs would go away. And your visitors would see it in their
location bar, and in their bookmarks.
> I'm on a lynux server with cpanel/whm. I've looked through all the files
> and scripts that I've uploaded to my site but can't find it referenced in
> any of them. Does anyone have a clue?
Lynux? <g>
You can also add these lines to your <head> section:
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
(Using two has something to do with Internet Explorer vs. real browsers,
but I've forgotten why.)
--
-bts
-Motorcycles defy gravity; cars just suck.
| |
| Mark Goodge 2006-09-24, 6:59 pm |
| On Wed, 20 Sep 2006 04:40:34 GMT, The Chipster put finger to keyboard
and typed:
>I've got this file that keeps popping up in my logs as missing, and I have
>no clue where it is or what it belongs to. The file name is favicon.ico.
>I'm on a lynux server with cpanel/whm. I've looked through all the files
>and scripts that I've uploaded to my site but can't find it referenced in
>any of them. Does anyone have a clue?
Here's a couple of clues:
http://en.wikipedia.org/wiki/Favicon
http://www.favicon.co.uk/
Mark
--
Please help a cat in need: http://www.goodge.co.uk/cat/
| |
|
|
| Toby Inkster 2006-09-24, 6:59 pm |
| Beauregard T. Shagnasty wrote:
> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
> <link rel="icon" href="favicon.ico" type="image/x-icon">
The second of these is redundant.
http://www.w3.org/TR/html401/struct/links.html#adef-rel
| rel = link-types [CI]
| This attribute describes the relationship from the current document
| to the anchor specified by the href attribute. The value of this
| attribute is a space-separated list of link types.
So this:
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
is semantically equivalent to this:
<link rel="shortcut" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
Internet Explorer requires the first syntax, because it's broken. Other
browsers seem to be perfectly happy to use the first syntax too.
This alone:
<link rel="icon" href="favicon.ico" type="image/x-icon">
is far more logical, but in conjunction with 'rel="shortcut icon"' is
redundant.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
| |
| Beauregard T. Shagnasty 2006-09-24, 6:59 pm |
| Toby Inkster wrote:
> Beauregard T. Shagnasty wrote:
>
>
> The second of these is redundant.
I knew that, as I said, just couldn't think of the reason. <g>
--
-bts
-Motorcycles defy gravity; cars just suck.
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |