Questions tagged [favicon]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
35 votes
3 answers
90k views

How to set a favicon.ico for a specific Virtual Host on Nginx?

I am using Nginx as my webserver for the first time. I didn't have any trouble to set it up and everything works great. The problem came when the designer asked me if he could send me "the icon in the ...
ersamy's user avatar
  • 453
13 votes
2 answers
31k views

Configuring favicon with expires header in htaccess

I have implemented Expires headers via mod_expires on my Apache server and have successfully created expires headers for most file types, however I am having trouble with the favicon. I initially ...
user avatar
5 votes
11 answers
2k views

Should I provide Favicon.ico for my website?

I don't have a favicon.ico. I noticed that many visitors repeatedly request it. Should I just put a blank GIF or ICO file? Thanks for the input. But I have one question that no one answered: should I ...
Unknown's user avatar
  • 1,715
3 votes
2 answers
2k views

Don't log favicon.ico errors

I run an apache2 server with some vhosts (50-100). A lot of these do not have favicon.ico files, cluttering the error logs with messages like [Thu Mar 21 14:07:40 2013] [error] [client 84.xx.xx.xx] ...
dtech's user avatar
  • 633
3 votes
0 answers
140 views

Why doesn't Android cache Apple Touch Icons? [closed]

I'm not sure if this applies to every Android phone, but it seems that many Android browsers don't cache the Apple Touch Icon and reload it on every page view. I have the following in the <head>...
nwellnhof's user avatar
  • 235
2 votes
2 answers
1k views

Rejecting traffic where ACCEPT header is empty on favicon.ico requests

As part of filtering out potential harmful traffic, I currently reject traffic where $_SERVER["HTTP_ACCEPT"] is empty. I notice from my logs that a fair number of requests have been rejected due to ...
mseifert's user avatar
  • 429
1 vote
1 answer
873 views

Excessive requests to /favicon.ico every few minutes from a single user

A significant fraction of the requests to my webserver over the last few months are from a single user requesting /favicon.ico: # tail -n 3 access_log XXX - - [24/Jan/2021:17:40:18 +0000] "GET /...
anon novice's user avatar
1 vote
0 answers
2k views

Wrong favicon served by nginx

I have a server with two websites, A and B. The nginx configuration for my server is quite basic: server { listen 80; server_name <url>; location / { proxy_pass http://...
Fig's user avatar
  • 11
1 vote
0 answers
8k views

nginx doesn't display favicon

So i decided to play around with nginx and i managed to run correctly both htm and php files ( php-fpm ) but there is a problem: it does not display the favicon, nor in the root neither in the other ...
user156194's user avatar
0 votes
2 answers
816 views

Apache mod_autoindex and declaring a favicon in the <head>?

All browsers are not equal. Hence I need to explicitly state that I have a favicon ("shortcut icon") for mod_autoindex-generated pages. How can I do that? Using header (HeaderName) and footer (...
0xC0000022L's user avatar
  • 1,546
0 votes
1 answer
229 views

Google cloud storage favicon for PDF File

I have some pdf files hosted on Google Cloud Storage. These files are public and I open them using their public link. Is there a way I can customize the favicon shown by the browser when I view those ...
allemattio's user avatar