Setting up WebSVN on Dreamhost

Posted: 8th November 2008 by Grant Perry in Dreamhost, Subversion, Version control
Tags: , , ,

WebSVN is an amazing PHP based interface in to your subversion repositories. Consider it a glossy online GUI to your code! This is a basic tutorial to set it up on your web server…

I should note in advance that I use Dreamhost as my hosting provider, so you’ll need to double check your exact configuration for yourself… Also I am about to install WebSVN 2.0…

  1. Use your favourite SVN client to check out http://websvn.tigris.org/svn/websvn/tags/2.0/. (username: guest, no password).
  2. Rename the file ./includes/distconfig.php to ./includes/config.php
  3. Open your config.php and make at least the following changes:
    $config->setSVNCommandPath('/usr/bin/');
    $config->setDiffPath('/usr/bin/');

    and

    $config->parentPath('/home/username/svn/');
  4. Lastly copy the files to a directory under your website

Now you’ve got a great online subversion browser… But this doesn’t have any user restriction yet, more on this soon ;)


  1. [...] 10 Nov 2008: I’ve written an easier article (Setting up WebSVN on Dreamhost) which doesn’t require jumping in to a console! It will be simpler for some, and helps if you [...]

  2. [...] to see your code. If you’re setting this up I’ve already produced some instructions for Dream Host and [...]

  3. [...] un link dove viene spiegato in breve come installarlo su Linux (l’ho testato su Ubuntu 8.10). Per [...]

  4. [...] WebSVN is incredibly easy (and should be a one-click install IMO). Follow the steps outline here: http://www.childofthemachine.com/blog/2008/11/setting-up-websvn-on-dreamhost/ 0 responses As usual, written by Guillermo A. [...]

  5. Web Hosting says:

    Hey that was really easy to install! Now I just need to figure out how to use one single instance of WebSVN for different users/repositories…