如何解决favicon.ico在Apache上找不到错误 [英] How to resolve favicon.ico not found error on apache

查看:410
本文介绍了如何解决favicon.ico在Apache上找不到错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Apache上运行index.php文件时出现以下错误

I am getting following error while running index.php file on apache

File does not exist: /home/../../../../favicon.ico

这是什么意思?我应该改变些什么来解决它?

What does this mean? What should I change to resolve it?

推荐答案

Favicon.ico是显示在浏览器栏中URL旁边的图标文件. (请参阅URL旁边的StackExchange图标.)

Favicon.ico is an icon file that is displayed next to the URL in the browser bar. (See the StackExchange icon next to the URL).

无法阻止浏览器请求它.您可以创建一个收藏夹图标,也可以创建一个名为favicon.ico的零字节文件并将其放置在Web根目录中.

There is no way to stop browsers requesting it. You can either create a favicon, or create a zero byte file called favicon.ico and place in the web root.

这篇关于如何解决favicon.ico在Apache上找不到错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆