summaryrefslogtreecommitdiffstats
path: root/subversion.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-05-12 09:29:46 +0200
committerRemi Collet <fedora@famillecollet.com>2012-05-12 09:29:46 +0200
commit26fddacdc05fa5b660b3e9f425173e7ae294b48f (patch)
tree3a2e3ebbd6de7dc462ec4700fbf183631bb84a43 /subversion.conf
subversion: import from rawhide
Diffstat (limited to 'subversion.conf')
-rw-r--r--subversion.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/subversion.conf b/subversion.conf
new file mode 100644
index 0000000..1c0f8c7
--- /dev/null
+++ b/subversion.conf
@@ -0,0 +1,41 @@
+
+LoadModule dav_svn_module modules/mod_dav_svn.so
+LoadModule authz_svn_module modules/mod_authz_svn.so
+LoadModule dontdothat_module modules/mod_dontdothat.so
+
+#
+# Example configuration to enable HTTP access for a directory
+# containing Subversion repositories, "/var/www/svn". Each repository
+# must be both:
+#
+# a) readable and writable by the 'apache' user, and
+#
+# b) labelled with the 'httpd_sys_content_t' context if using
+# SELinux
+#
+
+#
+# To create a new repository "http://localhost/repos/stuff" using
+# this configuration, run as root:
+#
+# # cd /var/www/svn
+# # svnadmin create stuff
+# # chown -R apache:apache stuff
+# # chcon -R -t httpd_sys_content_t stuff
+#
+
+#<Location /repos>
+# DAV svn
+# SVNParentPath /var/www/svn
+#
+# # Limit write permission to list of valid users.
+# <LimitExcept GET PROPFIND OPTIONS REPORT>
+# # Require SSL connection for password protection.
+# # SSLRequireSSL
+#
+# AuthType Basic
+# AuthName "Authorization Realm"
+# AuthUserFile /path/to/passwdfile
+# Require valid-user
+# </LimitExcept>
+#</Location>