[wellylug] favicon.ico file in Apache

Andrew Stephen andrew.stephen at gmail.com
Wed Mar 23 18:41:09 NZST 2005


On Wed, 23 Mar 2005 15:25:15 +1200, Chris Hodgetts <chris at archnetnz.com> wrote:
> I was just wondering,
> 
> Is there a way for apache to include this into the header of anything
> that it sends, for a virtual host?

I believe that the favicon.ico file is retrieved by the browser from
whatever path is requested, or failing that the DocumentRoot of
whatever server, real or virtual, it is connecting to.

> EG: if a user requests a directory listing, or gets a page where the
> icon information is not entered, they still get it by default?

Yep - doesn't matter what path is requested.  If you want one
site-wide favicon just put one in DocumentRoot.

-- 
Andrew Stephen
http://www.evil.geek.nz/




More information about the wellylug mailing list