Questions tagged [favicon]

11 questions
34
votes
3 answers

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 title bar" to "put it up there". #…
ersamy
  • 443
  • 1
  • 4
  • 5
12
votes
2 answers

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 tried adding a set of instructions for the .ico files…
thehuby
5
votes
11 answers

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 use an animated favicon?
Unknown
  • 1,675
  • 6
  • 20
  • 27
3
votes
0 answers

Why doesn't Android cache Apple Touch Icons?

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 of my HTML pages:
nwellnhof
  • 225
  • 1
  • 2
  • 8
3
votes
2 answers

Don't log favicon.ico erors

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] File does not exist:…
dtech
  • 621
  • 2
  • 9
  • 26
2
votes
2 answers

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 the accept header being empty and some of them come…
mseifert
  • 359
  • 1
  • 4
  • 12
1
vote
0 answers

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 ; location / { proxy_pass http://localhost:; proxy_http_version 1.1; …
Fig
  • 11
  • 4
1
vote
0 answers

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 directories. nginx.conf: user …
user156194
  • 13
  • 1
  • 4
1
vote
1 answer

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 /favicon.ico HTTP/1.1" 200 1845 "-"…
0
votes
2 answers

Apache mod_autoindex and declaring a favicon in the ?

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 (ReadmeName) is not an option because those get included…
0xC0000022L
  • 1,456
  • 2
  • 20
  • 41
0
votes
1 answer

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 PDF? Can I put a custom Favicon for my…