phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] favicon (was New Install Help)


From: Dave Hall
Subject: Re: [Phpgroupware-users] favicon (was New Install Help)
Date: Sun, 18 Dec 2005 18:55:33 +1100

I know I am replying to my own post but this has me stumped

I have tested current stable cvs fully up to date and I can't replicate
this.  I get :

[Sun Dec 18 18:49:54 2005] [error] [client 192.168.552.552] File does
not exist: /var/www/domain/favicon.ico 

in the error logs, but this is a well know issue with ff where it will
look for a favicon for each site it accesses.

It looks to me like "/usr/local/apache/share/htdocs/phpgroupware" is the
doc root or the error message is munged.

I will be leaving this unchanged for 0.9.16.010, if it is still an issue
we can fix it in cvs this week.

Cheers

Dave

On Sun, 2005-12-18 at 17:34 +1100, Dave Hall wrote:
> On Sun, 2005-12-18 at 06:20 +0000, Chris Weiss wrote:
> > On 12/18/05, Dave Hall <address@hidden> wrote:
> > > On Sun, 2005-12-18 at 01:00 +0000, Chris Weiss wrote:
> > > > On 12/17/05, Robert Steinmetz <address@hidden> wrote:
> > >
> > > > >
> > > > > I was also getting this error
> > > > > "File does not exist:
> > > > > /usr/local/apache/share/htdocs/phpgroupware/favicon.ico"
> > > > > I copied the file from the default template and that seems to have 
> > > > > stopped.
> > > >
> > > > makes sence, simple solution too.  Dave, can you do this for the new 
> > > > release?
> > >
> > > I will check all the templates.  I personally favour it being in
> > > phpgwapi/templates/default/images/favicon.ico and the common::image()
> > > being used to find it.  That way a specific template can have its own.
> > 
> > so long as you add the following to the templates so the browser can
> > find it in the alternate path:
> >    <link rel="shortcut icon" href="phpgwapi/template/foo/favicon.ico"
> > type="image/x-icon" />
> > 
> > maybe even this:
> >    <link rel="shortcut icon" href="favicon.php" type="image/x-icon" />
> > and have a small script that readfile()'s the current template's ico file
> > 
> 
> That creates too much server load and extra script execution for each
> page call as it won't be cached.  
> 
> The idea behind common::image is that it does the image search and
> populates the <head><link href="{favicon}" /> for us :)
> 
> Cheers
> 
> Dave
-- 
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e address@hidden
w phpgroupware.org





reply via email to

[Prev in Thread] Current Thread [Next in Thread]