Apache DAV-SVN (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
<pre>
<pre>
sudo vi /etc/apache2/mods-available/dav_svn.conf
sudo vi /etc/apache2/mods-available/dav_svn.conf
</pre>
<pre>
<Location /svn>
  DAV svn
  SVNPath /home/svn
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/apache2/dav_svn.passwd
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>
</pre>
<pre>
sudo htpasswd /etc/apache2/dav_svn.passwd ein-Nutzer
</pre>
</pre>



Version vom 18. August 2018, 15:47 Uhr

Installation

sudo a2enmod dav_svn 

Konfiguration

sudo vi /etc/apache2/mods-available/dav_svn.conf
<Location /svn>
  DAV svn
  SVNPath /home/svn
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile /etc/apache2/dav_svn.passwd
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>
</Location>


sudo htpasswd /etc/apache2/dav_svn.passwd ein-Nutzer 

Links

https://wiki.ubuntuusers.de/Archiv/Subversion/


Zurück zu Subversion