~ubuntu-branches/ubuntu/dapper/apache2/dapper

« back to all changes in this revision

Viewing changes to debian/README.etc

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-10-13 19:46:10 UTC
  • Revision ID: james.westby@ubuntu.com-20041013194610-ccvqcz8vflh5zqrm
Tags: 2.0.50-12ubuntu4
Security Release. Patch from upstream for the following:
CAN-2004-0885SSLCypherSuite can be bypassed during renegotiation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Apache2 Configuration under Debian GNU/Linux
 
2
============================================
 
3
 
 
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.
 
8
 
 
9
Files and Directories in /etc/apache2:
 
10
-------------------------------------
 
11
 
 
12
apache2.conf
 
13
 
 
14
        This is the main configuration file.
 
15
 
 
16
conf.d/
 
17
 
 
18
        Files in this directory are included by this line in
 
19
        apache2.conf:
 
20
 
 
21
        # Include generic snippets of statements
 
22
        Include /etc/apache2/conf.d
 
23
 
 
24
        This is a good place to add additional configuration
 
25
        directives.
 
26
 
 
27
httpd.conf
 
28
 
 
29
        Empty file.
 
30
 
 
31
magic
 
32
 
 
33
        Magic data for mod_mime_magic Apache module, documented in
 
34
        htdocs/manual/mod/mod_mime_magic.html.  You probably don't
 
35
        need to touch this.
 
36
 
 
37
mods-available/
 
38
 
 
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.
 
44
 
 
45
mods-enabled/
 
46
 
 
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:
 
51
 
 
52
        cgi.load -> /etc/apache2/mods-available/cgi.load
 
53
 
 
54
ports.conf
 
55
 
 
56
        Configuration directives for which ports and IP addresses to
 
57
        listen to.
 
58
 
 
59
sites-available/
 
60
 
 
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.
 
65
 
 
66
sites-enabled/
 
67
 
 
68
        Similar in functionality to mods-enabled/, sites-enabled
 
69
        contains symlinks to sites in sites-available/ that the
 
70
        admnistrator wishes to enable.
 
71
 
 
72
        Example:
 
73
        dedasys -> /etc/apache2/sites-available/dedasys
 
74
 
 
75
Tools
 
76
-----
 
77
 
 
78
Currently, a2enmod and a2dismod are available for enabling and
 
79
disabling modules utilizing the above configuration system.