我在 Linux 中将 apache 设置为 LAMP 服务器
在根/www/目录中,我有一个 favicon.ico,但它从未在浏览器(Chromium、Firefox)中显示,并且在 apache error.log 中出现以下错误:
[Mon Jul 08 17:32:30 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
我并不是特别担心该文件没有出现,但它确实存在,而且我无法弄清楚为什么它会给我这个错误。
最佳答案
(在问题编辑中回答。转换为社区 wiki 答案。请参阅 Question with no answers, but issue solved in the comments (or extended in chat) )
OP 写道:
The favicon was 32x32 which seems to be why. I substituted with a 16x16 favicon.ico file and I no longer get this error.
What I further don't understand is why I would get this at all - presumably some setting as I have an apache server on a hosted website with the same 32x32 favicon but it appears there and there are no errors.
关于Apache - 文件不存在错误(文件肯定存在) - favicon.ico,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17557519/