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

Re: favicon.ico not showing in apache2



On 14/11/2012 12:22, Darac Marjal wrote:
On Wed, Nov 14, 2012 at 12:10:15PM +0100, Jorge wrote:
  Mi web server is apache2 under Debian Squeeze. I've got SSL
Certificate and user authentication (AuthUser), but I can't manage
to show the favicon.ico unless I disable both of them.

Of course, favicon.ico is in the webroot of the VirtualHost and full
of permissions (just in order to pass the test). I can see the image
if I go to http://www.ejemplo.com/favicon.ico.

I've tried (despite I don't like this solution) ...

<head> <link rel="shortcut icon"
href=http://www.ejemplo.com/favicon.ico type="image/x-icon" />
<title>Hello Word Icon</title> </head>

... and it works, despite authentication being enabled, by the time
I go to http://www.ejemplo.com/, but keeps on not showing if I go to
https://www.ejemplo.com/. And if I put href=https ... instead of
href=http ... not even that, I can't see any of them.

What do /var/log/apache2/access.log and /var/log/apache2/error.log say
on the matter?

Have you tried a different browser?


There are no more generated logs than the ones in /var/log/apache2/error.log. These are the repeated lines:


[Wed Nov 14 10:35:37 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Nov 14 10:35:37 2012] [notice] Digest: generating secret for digest authentication ...
[Wed Nov 14 10:35:37 2012] [notice] Digest: done
[Wed Nov 14 10:35:39 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366) [Wed Nov 14 10:35:39 2012] [notice] Apache/2.2.16 (Debian) PHP/5.3.3-7+squeeze14 with Suhosin-Patch mod_ssl/2.2.16 OpenSSL/0.9.8o configured -- resuming normal operations

Same result in IE and FF browsers. It only works if I put the <link ...> code line and disable SSL.





Reply to: