Access to Subversion repositories is available for all
FladiAtAccounts on demand. Existing projects with public access can be browsed at
Fladi.at - Subversion.
Packages
%CODE{"sh"}%
aptitude install libapache2-svn websvn
%ENDCODE%
Apache2 Setup
To combine the repositories and WebSVN in one virutal host for Apache2 it is just necessary to map the DocumentRoot to the WebSVN directory.
%CODE{"html"}%
DocumentRoot? /var/www/vhosts/subversion.fladi.at
ServerName? subversion.fladi.at
CustomLog? /var/log/apache2/access.subversion.fladi.at.log combined
# Map WebSVN? to root.
Alias / /usr/share/websvn/
DirectoryIndex? index.php
Options FollowSymLinks?
Order allow,deny
Allow from all
ErrorLog? /var/log/apache2/error.subversion.fladi.at.log
DAVLockDB? /var/www/vhosts/subversion.fladi.at/locks
# Generic authentication provider. It is used by the repositories specified below.
AuthType? Basic
AuthBasicProvider? ldap
AuthName? "Fladi.at Subversion Repository"
AuthLDAPURL? "ldap://127.0.0.1/dc=fladi,dc=at?uid"
AuthLDAPGroupAttribute? uniqueMember
AuthLDAPGroupAttributeIsDN? on
# One of the actual SVN repositories.
DAV svn
SVNPath /home/subversion/sso
SVNAutoversioning on
SVNReposName? "Fladi.at - Single Sign On"
SVNIndexXSLT? "/svnindex.xsl"
Require ldap-dn uid=manager,dc=fladi,dc=at
%ENDCODE%