favicon

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Maverick

Re: favicon

Post by Maverick »

bill wrote: i have followed the above instructions and those at http://www.html-kit.com/favicon/ and have placed my favicon.ico in /var/www/html as directed.  i have amended the main site template to include as directed between the two head tags but it still is not working.

i get this in my Apache error logs:

[Thu Mar 02 12:55:07 2006] [error] [client 192.168.1.36] (13)Permission denied: access to /favicon.ico denied

but this is the directory listing of the Apache root directory:

[root@machine ~]# ls /var/www/html/favicon.ico -la
-rw-r--r--  1 root root 3638 Feb 24 13:23 /var/www/html/favicon.ico
[root@machine ~]#

(...)

any ideas please?

cheers

bill
Just make sure you can "view" (sometimes it returns it as a download) the favicon at your homepage.
For example, make sure www.mydomain.com/favicon.ico works.

If you get an access denied error then this means you have to (re-)set some permissions for the favicon. The favicon should have the same rights as every other picture/file on your webserver.

Good luck.
numer9

Re: favicon

Post by numer9 »

hey,
since favicon.ico doesn't give me any troubles as far as talking about content, but it's just not showing up in admin's section. I've uploaded favicon.ico to /admin/ folder, but still no good. I thought that there's some trick to upload custom favicon without changing admin template.

any suggestions?
thanks!
#9
jelle

Re: favicon

Post by jelle »

a quick glance at the html from svntest tells me there is not line for a favicon in the head section. Your browser will try to find one in the root of the domain (yourdomain.org/favicon.ico).
Changing the admin template seesm to be a bit trickier, I am a little disappointed that cmsms does not eat its own dogfood here.
Etienne

Re: favicon

Post by Etienne »

Hey, I was wondering if I could get some favicon help too maybe...

I'm working on a site available at www.uvickendoclub.tz4.com which is a mask for http://members.shaw.ca/victoriakendo/VKC.htm.

Now, I was able to create and place a favicon.ico in my root directory and it shows up well enough at http://members.shaw.ca/victoriakendo/VKC.htm (using firefox) but not at www.uvickendoclub.tz4.com.

Since uvickendoclub.tz4.com is a mask/redirection of http://members.shaw.ca/victoriakendo/VKC.htm, why the favicon.ico not appear in the address bar? Most people when visiting the site will use the "tz4.com" address as opposed to the lengthier "members.shaw.ca" one so it's something of an annoyance that I can't get the favicon.ico to appear when the "tz4.com" address is in use.

Any help would be much appreciated.

Etienne Robelin
Webmaster: www.UVicKendoClub.tz4.com
LeisureLarry

Re: favicon

Post by LeisureLarry »

You can only solve this problem if you can change the redirection frame-set. You´ll have to add the meta-tags for favicons there.
numer9

Re: favicon

Post by numer9 »

yeah,
try insterting tag

Code: Select all

<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
into head section of your html code. That should make it work. If not you can try providing whole path instead of filename, for example:

Code: Select all

<link rel="shortcut icon" href="http://www.yoursite.com/favicon.ico" type="image/x-icon" />
and let us know if it helped.

regards,
#9
LeisureLarry

Re: favicon

Post by LeisureLarry »

I think you will have to use the full path and you will have to insert it in the html code of the redirection frame and not in the html code of your page.
Locked

Return to “Tips and Tricks”