1 # dav_svn.conf - Example Subversion/Apache configuration
3 # For details and further options see the Apache user manual and
6 # NOTE: for a setup with multiple vhosts, you will want to do this
7 # configuration in /etc/apache2/sites-available/*, not here.
9 # <Location URL> ... </Location>
10 # URL controls how the repository appears to the outside world.
11 # In this example clients access the repository as http://hostname/svn/
12 # Note, a literal /svn should NOT exist in your document root.
15 # Uncomment this to enable the repository
18 # Set this to the path to your repository
20 # Alternatively, use SVNParentPath if you have multiple repositories under
21 # under a single directory (/var/lib/svn/repo1, /var/lib/svn/repo2, ...).
22 # You need either SVNPath and SVNParentPath, but not both.
23 #SVNParentPath /var/lib/svn
25 # Access control is done at 3 levels: (1) Apache authentication, via
26 # any of several methods. A "Basic Auth" section is commented out
27 # below. (2) Apache <Limit> and <LimitExcept>, also commented out
28 # below. (3) mod_authz_svn is a svn-specific authorization module
29 # which offers fine-grained read/write access control for paths
30 # within a repository. (The first two layers are coarse-grained; you
31 # can only enable/disable access to an entire repository.) Note that
32 # mod_authz_svn is noticeably slower than the other two layers, so if
33 # you don't need the fine-grained control, don't configure it.
35 # Basic Authentication is repository-wide. It is not secure unless
36 # you are using https. See the 'htpasswd' command to create and
37 # manage the password file - and the documentation for the
38 # 'auth_basic' and 'authn_file' modules, which you will need for this
39 # (enable them with 'a2enmod').
41 #AuthName "Subversion Repository"
42 #AuthUserFile /etc/apache2/dav_svn.passwd
44 # To enable authorization via mod_authz_svn
45 #AuthzSVNAccessFile /etc/apache2/dav_svn.authz
47 # The following three lines allow anonymous read, but make
48 # committers authenticate themselves. It requires the 'authz_user'
49 # module (enable it with 'a2enmod').
50 #<LimitExcept GET PROPFIND OPTIONS REPORT>