svn: Add template to generate the apache mod_dav_svn config for all repository groups.
This commit is contained in:
parent
668275b816
commit
b4142b0c6c
1 changed files with 20 additions and 0 deletions
20
rhodecode/svn_support/templates/mod-dav-svn.conf.mako
Normal file
20
rhodecode/svn_support/templates/mod-dav-svn.conf.mako
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# This file is auto generated by RhodeCode. It contains the configuration for
|
||||
# use with mod_dav_svn.
|
||||
|
||||
<Location ${location_root}>
|
||||
DAV svn
|
||||
SVNParentPath ${parent_path_root}
|
||||
SVNListParentPath ${'On' if svn_list_parent_path else 'Off'}
|
||||
Allow from all
|
||||
Order allow,deny
|
||||
</Location>
|
||||
|
||||
% for repo_group in repo_groups:
|
||||
<Location ${location_root}${repo_group.full_path}>
|
||||
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
|
||||
</Location>
|
||||
% endfor
|
||||
Loading…
Add table
Add a link
Reference in a new issue