Browse svn history with browser - ViewVC

From Andreida
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

new

USE websvn instead!

apt-get install websvn

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

old

install:

apt-get install viewvc  cvsgraph libgd-tools

setup repositories in /etc/viewvc/viewvc.conf

root_parents = /<path-above-your-svn-repositories> : svn

If one of your repositories is /svn-reps/my-vip-projects then the line would be:

root_parents = /svn-reps : svn

activate for apache: add in /etc/apache2/mods-enabled/dav_svn.conf as last line: (check the path perhaps)

ScriptAlias /viewvc /usr/lib/viewvc/cgi-bin/viewvc.cgi
  • reload apache

use it in your browser: www.<your-domain>/viewvc