Browse svn repositories with your browser: websvn

From Andreida
Revision as of 11:59, 16 February 2016 by Andreas (talk | contribs) (Created page with " apt-get install websvn link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled /etc/apache2/mods-enabled/dav_svn.conf <pre> <Location /websvn> Aut...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
apt-get install websvn

link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled

/etc/apache2/mods-enabled/dav_svn.conf

<Location /websvn>
  AuthType Basic
  AuthName "Subversion Repository WebSvn"
  AuthUserFile /etc/apache2/dav_web_svn.passwd
  Require valid-user
</Location>

like here: http://wiki.andreas-duffner.de/index.php/Svn_via_https

Create user and password

htpasswd -c /etc/apache2/dav_web_svn.passwd myuser

Add user and password

 htpasswd /etc/apache2/dav_web_svn.passwd myuser2