You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by John Zoetebier <jo...@transparent.co.nz> on 2003/06/04 05:25:17 UTC

[users@httpd] Address bar icon: HOWTO

How can I setup Apache that to handle an address bar icon ?

I have created an icon called tsl.ico and put it in the root document folder.
The HTML page has header:
<LINK REL="SHORTCUT ICON" HREF="tsl.ico">

However the icon is not rendered in the address bar.
I probably have to add some directives, but which ?

-- 
John Zoetebier
Web site: http://www.transparent.co.nz


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Address bar icon: HOWTO

Posted by John Zoetebier <jo...@transparent.co.nz>.
On Wednesday 04 June 2003 16:28, Anthony Cunningham wrote:
> It works for me on Apache2 on windows NT.
> this was already in my configuration file:
>
>     AddType image/x-icon .ico

Will work as well without AddType directive.
However the behaviour of the browser changes as it will show a dialog prompt 
if you enter a URL to favicon.ico in the address bar.

-- 
John Zoetebier
Web site: http://www.transparent.co.nz


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Address bar icon: HOWTO

Posted by Anthony Cunningham <an...@om.asahi-kasei.co.jp>.

John Zoetebier wrote:

> On Wednesday 04 June 2003 15:27, Mac Serve wrote:
> > I don't think Apache has anything to do with favicons... but I may be
> > wrong, eh.
>
> I have done the following tests to isolate the problem:
> 1. Replaced href link:
> <LINK REL="SHORTCUT ICON" HREF="http://www.favicon.com/favicon.ico">
>
> Result:
> This icon renders properly in my browser Konqueror
>
> 2. Replaced icon:
> In order to eliminate a problem with tsl.ico I replaced it with favicon.ico,
> which we know is working.
> I run this from my test server.
>
> Result:
> favicon.ico is not rendered in my browser.
>

It works for me on Apache2 on windows NT.
this was already in my configuration file:

    AddType image/x-icon .ico

>
> 3. Type URL directly to icon
> 3.1
> URL: http://www.favico.com/favicon.ico
>
> Result:
> Browser prompted to save icon
>
> 3.2
> URL: http://myserver/favicon.ico
>
> Result:
> Browser renders rubbish
>
> From these test I can see that the server at www.favicon.com behaves different
> from my test server.
> All other things being equal it look logical to me to conclude there is a
> problem in the way Apache handles files with an ".ico" extension.
>
> --
> John Zoetebier
> Web site: http://www.transparent.co.nz
>
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Address bar icon: HOWTO

Posted by John Zoetebier <jo...@transparent.co.nz>.
On Wednesday 04 June 2003 15:27, Mac Serve wrote:
> I don't think Apache has anything to do with favicons... but I may be
> wrong, eh.

I have done the following tests to isolate the problem:
1. Replaced href link:
<LINK REL="SHORTCUT ICON" HREF="http://www.favicon.com/favicon.ico">

Result:
This icon renders properly in my browser Konqueror

2. Replaced icon:
In order to eliminate a problem with tsl.ico I replaced it with favicon.ico, 
which we know is working.
I run this from my test server.

Result:
favicon.ico is not rendered in my browser.

3. Type URL directly to icon
3.1
URL: http://www.favico.com/favicon.ico

Result:
Browser prompted to save icon

3.2
URL: http://myserver/favicon.ico

Result:
Browser renders rubbish

From these test I can see that the server at www.favicon.com behaves different 
from my test server.
All other things being equal it look logical to me to conclude there is a 
problem in the way Apache handles files with an ".ico" extension.

-- 
John Zoetebier
Web site: http://www.transparent.co.nz

>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Address bar icon: HOWTO

Posted by Mac Serve <ma...@ns.sympatico.ca>.
I don't think Apache has anything to do with favicons... but I may be 
wrong, eh.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org