[dba-VB] favicon (was: Syslogs)

Drew Wutka DWUTKA at Marlow.com
Tue Jun 30 13:42:16 CDT 2009


The reason those href's might not work is going to be dependant upon
whether or not IIS is running.  If you have a webserver, then a URL can
be 'soft', or based on the root of the webserver.  No webserver,
everything must include a full URL (or 'hard' URL).

Drew

-----Original Message-----
From: dba-vb-bounces at databaseadvisors.com
[mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock
Sent: Tuesday, June 30, 2009 12:06 PM
To: dba-vb at databaseadvisors.com
Subject: [dba-VB] favicon (was: Syslogs)

Hi Drew

That gives me an idea regarding favicon.

I've found that it is sometimes difficult to get IE to understand that a
favicon is present and should be displayed.
Some common methods are:

    <!-- Favicon for IE browsers -->
    <link rel="shortcut icon" href="favicon.ico" />
    <!-- Favicon for other browsers -->
    <link rel="icon" href="favicon.ico" />

This typically doesn't work. These may:

<link rel="shortcut icon" href="/favicon.ico" />

mtaulty.com/CommunityServer:
<link rel="shortcut icon" type="image/ico"
href="/CommunityServer/favicon.ico" />

<link rel="shortcut icon" href="http://www.examplesite.com/favicon.ico"
type="image/x-icon" />  

The most reliable method I've found is the last - to use the full URL -
but it is not nice to have hardcoded strings like these.
So how about using your method:

<link rel="shortcut icon" href="http://127.0.0.1/favicon.ico"
type="image/x-icon" />  

or localhost:

<link rel="shortcut icon" href="http://localhost/favicon.ico"
type="image/x-icon" />  


Anyone having experience with this?

/gustav


>>> DWUTKA at marlow.com 30-06-2009 18:49 >>>
Actually, if you have an IP address, it is real.  It then gets into what
it is used for.  For example, with your wireless, if it's not connected,
it won't have an IP address.  If a standard NIC is not connected, it
will show no address.  If it IS connected, but not receiving an IP
address, it will default to a (I think) 169 something, which is a hard
coded address, which means nothing.

You can also have internal addresses such as 127.0.0.1, which is a
loopback to your local machine. (so if you are running a website,
putting in http://127.0.0.1 on the server will give you the local
website).

Drew



_______________________________________________
dba-VB mailing list
dba-VB at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/dba-vb
http://www.databaseadvisors.com

The information contained in this transmission is intended only for the person or entity 
to which it is addressed and may contain II-VI Proprietary and/or II-VI Business 
Sensitive material. If you are not the intended recipient, please contact the sender 
immediately and destroy the material in its entirety, whether electronic or hard copy. 
You are notified that any review, retransmission, copying, disclosure, dissemination, 
or other use of, or taking of any action in reliance upon this information by persons 
or entities other than the intended recipient is prohibited.





More information about the dba-VB mailing list