Apache Server configuration support - favicon and cgi generated page

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > August 2006 > favicon and cgi generated page





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author favicon and cgi generated page
Davey Erwin

2006-08-30, 1:39 pm

I use rewrite
"index.html cgi-bin/script.pl" .
How can use a favicon ?
I have the favicon in htdocs
and in cgi-bin but it doesn't
show up in FireFox .
Jim Carlock

2006-08-31, 1:44 am

"Davey Erwin" <daveyerwin@gmail.com> wrote in message news:gWgJg.2$J23.1@newsfe02.lga...
> I use rewrite "index.html cgi-bin/script.pl". How can use a
> favicon ? I have the favicon in htdocs and in cgi-bin but it
> doesn't show up in FireFox.


That's an HTML question.

(1) Rename favicon to favicon.ico. (This should work for
almost all browsers.)
(2) Add the following line inside your <head></head> tags:
<link rel="shortcut icon" href="favicon.ico" />

Number (2) provides a way to display an icon in some browsers
that doesn't have the "favicon.ico" name. For instance, Firefox
handles animated gifs as an icon...
<link rel="shortcut icon" href="spinner.gif" />

Hope this helps.

Jim Carlock
Post replies to the group.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com