a2enmod dav a2enmod dav_svn
vi /etc/apache2/conf.d/subversion.conf
<IfModule mod_dav_svn.c>
<Location /repos/myproject>
DAV svn
SVNPath /srv/svn/repos/myproject
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /srv/svn/user_access/myproject_passwdfile
Require valid-user
</LimitExcept>
</Location>
<Location /repos/ccf>
DAV svn
SVNPath /srv/svn/repos/ccf
AuthType Basic
AuthName "My private subversion repository"
AuthUserFile /srv/svn/user_access/ccf_passwdfile
Require valid-user
</Location>
<Location /repos/php_ccf>
DAV svn
SVNPath /srv/svn/repos/php_ccf
AuthType Basic
AuthName "My PHP CCF script subversion repository"
AuthUserFile /srv/svn/user_access/php_ccf_passwdfile
Require valid-user
</Location>
<Location /repos/cgi_ccf>
DAV svn
SVNPath /srv/svn/repos/cgi_ccf
AuthType Basic
AuthName "My cgi script subversion repository"
AuthUserFile /srv/svn/user_access/php_ccf_passwdfile
Require valid-user
</Location>
</IfModule>mkdir /srv/svn/user_access touch /srv/svn/user_access/myproject_passwdfile touch /srv/svn/user_access/ccf_passwdfile touch /srv/svn/user_access/net_ccf_passwdfile
chown root:www /srv/svn/user_access/*_passwdfile
chmod 640 /srv/svn/user_access/*_passwdfile
htpasswd2 /srv/svn/user_access/[PasswdFile] [USER]
rcapache2 restart
svnadmin create /srv/svn/repos/myproject
svnadmin create /srv/svn/repos/ccf
svnadmin create /srv/svn/repos/php_ccf
svnadmin create /srv/svn/repos/cgi_ccf
chown -R wwwrun:www /srv/svn/repos/*/{db,locks}
chown wwwrun:www /srv/svn/repos/*/svn import /ccf http://[BASE_URL]/repos/ccf -m "initial /ccf import" svn import /netweb/php_ccf http://[BASE_URL]/repos/php_ccf -m "initial /netweb/php_ccf PHP CCF script import" svn import /netweb/cgi_ccf http://[BASE_URL]/repos/cgi_ccf -m "initial /netweb/cgi_ccf CGI CCF script import"
svn help svn co http://ap.ccf-consulting.net/repos/ccf svn status svn add linccf svn update svn commit svn update svn status svn add arc* svn list -v -R svn stat svn commit
Das Originaldokument ist zu finden unter http://www.ccf-consulting.de/tiki-5.0/tiki-index.php?page=RevisionControll