Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

Re: [users@httpd] How to get rid off favicon

Rich Bowen

2010-02-26

Replies: Find Java Web Hosting

Author LoginPost Reply

On Feb 26, 2010, at 9:44 AM, Nitin Gupta wrote:

> I have configured my WAP site as a virtual host in Apache. My WAP site does
> not have a Favicon and I don't want to use it either. Microbrowsers are
> complaining about the favicon and are getting a 404 error from my tomcat web
> server, which is behind Apache server.
>
> Please suggest how I can configure Apache to not serve the favicon and
> simply make the browser happy without my users seeing a 404 page. Can I make
> use of mod redirect here. If yes, then please suggest an appropriate
> configuration as I am not very good with Apache configuration.

This is not an Apache issue. This is a browser issue. Browsers request this file, and there's nothing you can do about that on the server side. What I recommend is that you create a favicon.ico file, or at the very least, create a zero-byte file called favicon.ico to silence the errors. Do this by typing:

touch favicon.ico

at the command line in your document directory.

--Rich
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.