Before we delve into configuration details, we need to know where to make our
changes. Apache is controlled through a collection of configuration files that differ
depending on the platform we are using. On Microsoft Windows the only file we
really need to be concerned with is httpd.conf, which can be found in C:\Program
Files\Apache Group\Apache2\conf\. Things are slightly more complicated under
Linux as Debian and Ubuntu are configured to support virtual hosts
out of the box, and configuration for individual hosts and modules is abstracted into
individual files stored in /etc/apache2/sites-available and /etc/apache2/
mods-available respectively. However, the simple presence of a file does not mean
that it is recognized by Apache??”they first have to be enabled. Fortunately??”unless
we chose to use virtual hosts??”we need to enable only a couple of modules, and we
can keep all our configuration in the file for the default host, which is unsurprisingly
called default.
Laying the Foundations
[ 30 ]
As already hinted, we need to make a few changes to the default Apache
configuration. First of all we need to enable the dav_fs module, and then we need
to append our configuration for dealing with serving multiple Trac projects and
Subversion repositories, and also our WebDAV folders.
Pages:
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55