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/







mime.types file.



Information
The mime.types file sets the default list of mappings from filename extensions to content types. This file is located in the ..\Apache Group\Apache2\conf directory.

More information about mime.types can be found in the quick guide "MIME types".

Operating system used
Windows XP Home Edition Version 5.1 SP 2

Software prerequisites
Apache 2.0.49

Procedure
  1. The location of the mime.types file is set in the httpd.conf file and has the following default values:

    TypesConfig conf/mime.types

  2. When Apache is installed in a Windows XP environment, the TypesConfig directive is not correctly set and therefore the mime.types file is not found.

    If the mime.types file is located at C:\tools\Apache Group\Apache2\conf, change the httpd.conf file as follow:

    TypesConfig "C:/Tools/Apache Group/Apache2/conf/mime.types"



  3. Restart the Apache server.

  4. It is recommended not to edit the mime.types file, because it may be replaced when you upgrade your server. Instead of the mime.types file you can add MIME types in the .htaccess file. See quick guide "Using Apache .htaccess file".