SubversionRepository

Access to Subversion repositories is available for all FladiAtAccounts on demand. Existing projects with public access can be browsed at Fladi.at - Subversion.

Packages

  • libapache2-svn
  • websvn

Language 'sh' not supported


aptitude install libapache2-svn websvn

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.
<VirtualHost *:80>
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/

<Directory /usr/share/websvn>
DirectoryIndex index.php
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>

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.
<Location />
AuthType Basic
AuthBasicProvider ldap
AuthName "Fladi.at Subversion Repository"
AuthLDAPURL "ldap://127.0.0.1/dc=fladi,dc=at?uid"
AuthLDAPGroupAttribute uniqueMember
AuthLDAPGroupAttributeIsDN on
</Location>
# One of the actual SVN repositories.
<Location /sso>
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
</Location>
</VirtualHost>
Topic revision: r4 - 02 Dec 2008 - 12:54:40 - FladischerMichael
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Fladi.at? Send feedback