##// END OF EJS Templates
svn: Moved code and make a small bugfix.
svn: Moved code and make a small bugfix.

File last commit:

r563:7287ae48 default
r563:7287ae48 default
Show More
mod-dav-svn.conf.mako
28 lines | 1007 B | application/x-mako | MakoHtmlLexer
# Auto generated configuration for use with the Apache mod_dav_svn module.
# The mod_dav_svn module does not support subversion repositories which are
# organized in subfolders. To support the repository groups of RhodeCode it is
# required to provide a <Location> block for each group pointing to the
# repository group sub folder.
# To ease the configuration RhodeCode auto generates this file whenever a
# repository group is created/changed/deleted. Auto generation can be configured
# in the ini file.
<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_stripped}${repo_group.full_path}>
DAV svn
SVNParentPath ${parent_path_root_stripped}${repo_group.full_path}
SVNListParentPath ${'On' if svn_list_parent_path else 'Off'}
Allow from all
Order allow,deny
</Location>
% endfor