This guide is written mostly for web administrators/developers, who want to optimize the speed and increase the security of Apache web server. Without a doubt, Apache is still one of the best web servers on the Internet. Being open source, loaded with modules that can do almost anything, Apache is a good solution for both development and production needs. This guide will help you get the best out of Apache web server by letting you control its usage with minimum resources.
1) Who should use this guide?
Web admins and web developers who want to optimize the speed and increase the security of Apache Web Server. Also the guide is useful for ISPs who get slammed with big loads of traffic.
2) On what operating systems has this guide been tested on?
This guide was tested on Redhat Enterprise Linux 5 and Fedora Core 8, but should work on any *nix or win32 environment as well.
3) Does this guide guarantee a significant increase in performance of Apache?
This guide might or might not help you increase the speed of Apache. I don’t guarantee anything. Please be warned that the speed of Apache is controlled by many factors such as amount of RAM, processor speed, size of the executable, number of compiled modules and etc. Don’t expect your Apache to be twice as fast just because you followed the guide. I will do my best in providing explanations for what I’m doing and why, so that you understand the purpose of every action and how it can help you in speeding up your web server.
4) What you need to get started:
The guide is useless without a working Apache installation. If you don’t have Apache installed yet, go ahead and install it now. You can follow my “Apache, PHP, GD & Mod_Perl Guide” or install it on your own. I do not recommend running the default RPM version of Apache that comes with your OS distribution for various reasons. Go ahead and download the following modules into your source directory (in this case the source directory is /usr/local/src).
List of useful modules:
- mod_evasive 1.10.1 from http://www.zdziarski.com/projects/mod_evasive/
- mod_security 1.9.5 from http://www.modsecurity.org





