From b4142b0c6cfd131506aaeca016372fc4df2fd58d Mon Sep 17 00:00:00 2001 From: Martin Bornhold Date: Mon, 25 Jul 2016 16:29:43 +0200 Subject: [PATCH] svn: Add template to generate the apache mod_dav_svn config for all repository groups. --- .../templates/mod-dav-svn.conf.mako | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 rhodecode/svn_support/templates/mod-dav-svn.conf.mako diff --git a/rhodecode/svn_support/templates/mod-dav-svn.conf.mako b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako new file mode 100644 index 00000000..980a8e6f --- /dev/null +++ b/rhodecode/svn_support/templates/mod-dav-svn.conf.mako @@ -0,0 +1,20 @@ +# This file is auto generated by RhodeCode. It contains the configuration for +# use with mod_dav_svn. + + + DAV svn + SVNParentPath ${parent_path_root} + SVNListParentPath ${'On' if svn_list_parent_path else 'Off'} + Allow from all + Order allow,deny + + +% for repo_group in repo_groups: + + DAV svn + SVNParentPath ${parent_path_root}${repo_group.full_path} + SVNListParentPath ${'On' if svn_list_parent_path else 'Off'} + Allow from all + Order allow,deny + +% endfor