1
Apache2 Configuration under Debian GNU/Linux
2
============================================
4
Debian's default Apache2 installation attempts to make adding and
5
removing modules, virtual hosts, and extra configuration directives as
6
flexible is possible, in order to make automating the changes and
7
administering the server as easy as possible.
9
Files and Directories in /etc/apache2:
10
-------------------------------------
14
This is the main configuration file.
18
Files in this directory are included by this line in
21
# Include generic snippets of statements
22
Include /etc/apache2/conf.d
24
This is a good place to add additional configuration
33
Magic data for mod_mime_magic Apache module, documented in
34
htdocs/manual/mod/mod_mime_magic.html. You probably don't
39
This directory contains a series of .load and .conf files.
40
The .load files contain the Apache configuration directive
41
necessary to load the module in question. The respective
42
.conf files contain configuration directives necessary to
43
utilize the module in question.
47
To actually enable a module for Apache2, it is necessary to
48
create a symlink in this directory to the .load (and .conf, if
49
it exists) files associated with the module in
50
mods-available/. For example:
52
cgi.load -> /etc/apache2/mods-available/cgi.load
56
Configuration directives for which ports and IP addresses to
61
Like mods-available/, except it contains configuration
62
directives for different virtual hosts that might be used with
63
apache2. Note that the hostname doesn't have to correspond
64
exactly with the filename. 'default' is the default host.
68
Similar in functionality to mods-enabled/, sites-enabled
69
contains symlinks to sites in sites-available/ that the
70
admnistrator wishes to enable.
73
dedasys -> /etc/apache2/sites-available/dedasys
78
Currently, a2enmod and a2dismod are available for enabling and
79
disabling modules utilizing the above configuration system.