Thursday, March 6, 2008

Install Subversion with Web Access on Ubuntu

For this post, I will just add my feedback on top of this very good tutorial. Here is my no-brainer feedback with Ubuntu Server 7.04 (you can also get this info by reading the comments of the tutorial).

  • In the config file /etc/apache2/mods-enabled/dav_svn.conf, you also have to uncomment the #</location> which is located at the very of end of file.

  • The command htpasswd2 is not present but htpasswd seems to do the job also.

  • Your svn repositories that you want to access from the web should read/writable by apache, so don't forget to chown -R www-data:www-data /your_svn_rep.

  • If you don't want anonymous access add this:
    AuthType Basic

    AuthName "Subversion Repository"

    AuthUserFile /etc/apache2/dav_svn.passwd

    Require valid-user

0 comments: