Apache and favicon?

Hello everybody,

somehow i cant display favicons on my local apache server.
I added:

<link rel=“shortcut icon” href=“favicon.ico” type=“image/x-icon” />

to my html file and in my apache httpd.conf:

AddType image/x-icon .ico

I can display a favicon though just by opening the html-file without using the apache, so im pretty sure apache’s the culprit.

Any thoughts on this weirdo?

thanks
AO

resolved:

i dont know for sure but ithink it had to do with the FF cache.
Works now.

sry
AO

I have had similar problems. Check to ensure the path is correct.



if( ! file _exists('favicon.ico') )
{
  echo '<br /> No favicon.ico == check path: ';
  echo getcwd();
  die;
}