Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Add favicon.ico icon to website' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add favicon.ico icon to website
Authored by: ckier on Jan 31, '03 03:31:33PM

I have a website being hosted on my mac using mac OS X's built Apache web server. Is there anyway to add one of these icons to my website. Can I just modify something in the httpd.conf file.

Thanks,
Christopher Kiernan



[ Reply to This | # ]
Re: Add favicon.ico icon to website
Authored by: zzen on Jan 31, '03 05:53:43PM
No need to edit httpd.conf. Just type favicon in your google bar, man. What you get is plenty of links on how to create the favicon file, including ways to include it in the HEAD of HTML pages, so that browsers know where to load it. This is not the only link in existence, probably not even the best one. I think mozilla.org had some comprehensive pages about favicon files, but I am not sure where.

[ Reply to This | # ]
Add favicon.ico icon to website
Authored by: geohar on Feb 01, '03 04:33:25PM

as noted, there's plenty of guides to creating the icon and specializing the icon for different parts of the site. Things to note that you might need to do for apache & os x are:

put a

favicon.ico

in the root of you website (so safari can find it if you don't want to have to set up different icons for different parts of the site).

Add a line to apache's mime config file. This lives in /etc/httpd/ and tells apache which mime types belong to which extensions. Add the line

image/x-icon ico

so apache serves up the file.

You can create the icons with iconographer X, they are windows ico files. Make the icon 8bit depth max, or 16. It's the 'small' size if you're using iconographer (And remember to turn OFF the other unneeded sizes to keep the file small - there is alegedly some max size).

Hope this helps.



[ Reply to This | # ]