Apache - Configuration (httpd.conf)


All the Apache configuration are in one directory, the conf directory. with one main entry point known as the httpd.conf file.

From this file, all other configuration files are included. It means that you could even have only one configuration file.

With this configuration file, you can also start several instance of Apache if you give it as option.



The location of the configuration directory will differ depending on:

  • how Apache was compiled
  • how Apache was started (You can give the configuration as option)

For instance:

  • /etc/apache2/apache2.conf
  • /usr/local/apache2/conf/httpd.conf
  • C:\Apache24\conf\httpd.conf

Powered by ComboStrap