[英]How to remove apple-touch-icon-precomposed.png errors from apache log and keep iOS icon effects
The title about sums it up. 关于总结的标题。
I want to get rid of all those 404 errors in the log for apple-touch-icon-precomposed.png without having to add such an image, thus losing the iOS icon effects. 我想摆脱apple-touch-icon-precomposed.png日志中的所有404错误,而不必添加这样的图像,从而丢失iOS图标效果。
Two ideas come to mind: 想到两个想法:
mod_rewrite
to force an error, using the flags [F]
(403 forbidden), [G]
(410 gone), or [R=404,L]
(a "redirect" to a 404). mod_rewrite
强制错误,使用标志[F]
(403禁止), [G]
(410消失)或[R=404,L]
(“重定向”到404)。 I think these skip the error log.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.