
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
118
|
Chapter 6: Server Configuration
distributed with Subversion. Once you have all of those components, the process
of networking your repository is as simple as:
• Getting httpd 2.0 up and running with the
mod_dav module
• Installing the
mod_dav_svn plugin to mod_dav, which uses Subversion’s libraries to
access the repository
• Configuring your httpd.conf file to export (or expose) the repository
You can accomplish the first two items either by compiling
httpd and Subversion
from source code, or by installing prebuilt binary packages of them on your system.
For the most up-to-date information on how to compile Subversion for use with the
Apache HTTP Server, as well as how to compile and configure Apache itself for this
purpose, see the INSTALL file in the top level of the Subversion source code tree.
Basic Apache Configuration
Once you have all the necessary components installed on your system, all that
remains is the configuration of Apache via its httpd.conf file. Instruct Apache to load
the
mod_dav_svn module using the LoadModule directive. This directive must precede
any other Subversion-related configuration items. If your Apache was installed using
the default layout, your
mod_dav_svn module should have been installed in the
modules subdirectory of the Apache install location (often