About nixCraft

Topics

Save Disk Space under Apache Web server

Posted by Vivek Gite [Last updated: October 11, 2005]

Recently I had noticed some of our clients web sites generating lot of errors (on shared hosting account). Therefore, I decided to see what is going on. To my surprise most of the errors were related to two files only robots.txt and favicon.ico.

Many of the search engine and other robots use robots.txt file. Other browsers try to open special ICON file called favicon.ico. A Favicon is a multi-resolution image included on nearly all professional developed sites. Recent growth of Mozilla Firefox is also one of the causes to fill up error file as they try to open favicon.ico file.
A robot is a program that automatically traverses the Web's hypertext structure by retrieving a document, and recursively retrieving all documents that are referenced. You can control or configure agents via robots.txt file.

As most of the end user do not creates robots.txt and favicon.ico files. A error log entry generated in users error log file (for e.g. /chroot/www/a/abc.com/logs/error.log file), every time someone visit site. If site receives decent traffic, error log file becomes larger in quick time, wasting in disk space and not to mention complaints from hosting customer about disk space problem ;)
Solution was simple we sent an email to all of our customer describing the problem and suggested them to put both files in root directory of web hosting account. If you maintain shared hosting Apache web server, then you can put robots.txt and favicon.ico files by default to avoid errors.

For more info please see:
* Favicon info.
* Robots.txt file and FAQ.

Tell us how we're doing: Please answer a few questions about your experience to help us improve nixCraft.

You may also be interested in other helpful articles:

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.