View Single Post
Old 20th August 2007, 17:02
rjamesd rjamesd is offline
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
Default Requesting explanation of config files in /etc/apache2 (Debian Etch, Apache 2.2.3)

I'm using Apache 2.2.3 on Debian Etch (4.0) and I'd like an explanation or reference to a document that describes the role of each of the configuration files in /etc/apache2/

e.g.: -

-rw-r--r-- 1 root root 24175 2007-03-27 13:53 apache2.conf
drwxr-xr-x 2 root root 4096 2007-05-18 18:18 conf.d
-rw-r--r-- 1 root root 895 2007-03-27 13:58 envvars
-rw-r--r-- 1 root root 0 2007-07-31 14:38 httpd.conf
drwxr-xr-x 2 root root 4096 2007-08-14 15:58 mods-available
drwxr-xr-x 2 root root 4096 2007-05-18 18:23 mods-enabled
-rw-r--r-- 1 root root 10 2007-05-18 18:18 ports.conf
drwxr-xr-x 2 root root 4096 2007-08-20 13:50 sites-available
drwxr-xr-x 2 root root 4096 2007-07-31 15:05 sites-enabled

I know that they are files for configuring the behaviour of the apache web server, for example, how it responds to URL requests. But I thought that all of this was done in only httpd.conf In my configuration, by default, httpd.conf is empty, with much of the configuration in apache2.conf and in a file called 'default' in folder sites-available.

Searching and its forums and have so far not given me an explanation of these various files. Sure, the commands and directives within the files are documented reasonably well but nothing is said about in which files these should be placed and in what order and, even, why there are so many different files. The only file mentioned in documentation is httpd.conf

Also it would be useful to be able to find out when Apache reads these files and what it reads within them.
Reply With Quote
Sponsored Links