Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th August 2007, 16:02
rjamesd rjamesd is offline
Member
 
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 howtoforge.com and its forums and apache.org 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
  #2  
Old 21st August 2007, 17:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

The main configuration file is apache2.conf, and all other files are included in it.
Modules are placed in mods-available and enabled by symlinking them from mods-enabled. The same goes for the virtual hosts (sites-available <=> sites-enabled).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
rjamesd (24th August 2007)
  #3  
Old 24th August 2007, 13:16
rjamesd rjamesd is offline
Member
 
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
 
Default

Falko, thanks very much, I also found:

http://www.debian-administration.org/articles/101

I asked the original question because I am having a problem with pages that use cgi-bin scripts - see thread: http://www.howtoforge.com/forums/showthread.php?t=15032
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09
Problem with the apache (I can't start ist) M.Behrens Installation/Configuration 11 31st March 2006 10:48
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 09:21.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.