Apache

 
 
Apache is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet. As a project of the Apache Software Foundation, the developers aim to collaboratively develop and maintain a robust, commercial-grade, standards-based server with freely available source code.

The Apache HTTP Server is distributed at no charge for commercial or non-commercial use. For more information read the LICENSE.txt file.

Apache can be used with Microsoft Windows. The Apache HTTP Server Version 2.0 runs under Windows NT, Windows 2000 and Windows XP. You should download the version of Apache for Windows with the .msi extension. This is a single Microsoft Installer file containing Apache, ready to install and run.

The latest Apache HTTP Server version can be downloaded from: http://httpd.apache.org/
The latest Apache 1.3 documentation can be found at: http://httpd.apache.org/docs/1.3/
The latest Apache 2.0 documentation can be found at: http://httpd.apache.org/docs/2.0/
The latest Apache 2.2 documentation can be found at: http://httpd.apache.org/docs/2.2/







Optimizing Apache performance.



Information
If you have lots of vistors and you have a dynamic site, it is important to optimize your Apache performance. If you fail to do so visitors will not be able to access your web pages.

More information can be found at: http://httpd.apache.org/docs/2.0/misc/perf-tuning.html

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Apache 2.0.49

Procedure

Hardware
  1. Install Apache on a dedicated server.

  2. The server must have enough RAM memory.

  3. It is better to use mod_cache module as this will store the final page on disk.

    Instead of mod_cache you can use mod_mem_cache but ONLY if there is enough memory available. The page information is stored in the memory heap and shared by all the Apache processes.

  4. Use Redundant Array of Inexpensive Disks (RAID) to improve the overall speed when files are served.

  5. Make sure you have enough CPU, especially for dynamic sites.



System environment
  1. Keep your system environment up to date, install the latest patches.

  2. Only install required applications on the Apache server.