1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<VirtualHost *:80>
ServerName svn.magellan.fpms.ac.be
ServerAlias svn.magellan.fpms.ac.be
DocumentRoot /home/svn/repositories/
ErrorLog /var/log/apache2/error.log-svn
CustomLog /var/log/apache2/access.log-svn combined
<Directory /home/svn/repositories/>
Options MultiViews FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
</Directory>
<location />
DAV svn
SVNParentPath /home/svn/repositories/
SVNIndexXSLT "/svnindex.xsl"
SVNAutoversioning on
# how to authenticate a user
AuthType Basic
AuthName "SVN : My Repository"
AuthUserFile /home/svn/repository.htpasswd
# our access control policy
AuthzSVNAccessFile /home/svn/repository.authz
<limitexcept />
Require valid-user
</limitexcept>
</location>
</VirtualHost> |
Partager