About Screenshots How to FAQ FAQ Unlocker Testing & Bugreporting

How to install SVN for WebDAV

We would like to tell you how to install SVN, as this is a very good way to manage your iCalendars. It has the advantages to use access control and versioning.

Software installation:

On Ubuntu please install the following packages:

apt-get install apache2 libapache2-svn subversion subversion-tools

Configuration:

Setting up the SVN repository for your calendars:

cd /srv
mkdir svn
svnadmin create svn/mycalendar
chown -Rc www-data.www-data svn/my-calendar

Please add this in the file /etc/apache2/sites-enabled/my.site.tld (necessary, so that you get pure WebDAV behaviour and it does not expect SVN-extensions (they become optional, but not mandatory). Please pay special attention to this two entries ("FileETag none", "SVNAutoversioning on") (the other lines are pretty common in SVN-configurations).

  <Location /svn/mycalendar>
    DAV svn
    FileETag none
    SVNAutoversioning on
    SVNPath /srv/svn/mycalendar

    AuthzSVNAccessFile /srv/svn/mycalendar/conf/authz
    Satisfy Any
    AuthType Basic
    AuthName "My Calendar"
    AuthUserFile /srv/svn/mycalendar/conf/passwd
    Require valid-user
  </Location>

Instantiate the users that you need with the command htpasswd. You might want to remove the file first because htpasswd would complain about the copied comments from the template.

cd /srv/svn/mycalendar/conf
rm passwd
htpasswd -c passwd my1stuser
htpasswd passwd my2nduser

At the end you need to configure the authz:

cd /srv/svn/mycalendar/conf
mcedit authz

The following content should be contained in the file:

[groups]
team = my1stuser,my2nduser

[mycalendar:/]
@team = rw
* =

References:

Navigation
Help
Contact