When I created uptime_generator, I had to provide a public svn repository. Having never done this before, I had to learn. This post will be primarily useful to slicehost’rs running Ubuntu and having installed most of their setup via this walkthrough.


The Short

Follow these instructions


The Long

My apache install had ‘dav_module’, but it didn’t have ‘dav_svn_module’. So after going through the “Updating the Apache configuration” steps from above, my ‘apachectl configtest’ said:

Unknown DAV provider: svn

Next I read the “Installing the mod_dav_svn modules” from the same page. From that I realized I needed to download the subversion sources and rebuild. I ran

./configure –with-apxs=/usr/local/sbin/apxs
make

Note that I did not run ‘make install’. I’m happy with my svn setup and didn’t feel like disturbing it. I just wanted the moddavsvn.so. To get this I ran:

sudo cp ./subversion/mod_dav_svn/.libs/mod_dav_svn.so /usr/local/libexec/

Alright. Now I’ve got what I need. I went back to httpd.conf and added the LoadModule:

LoadModule dav_svn_module modules/mod_dav_svn.so

Saved and re-ran ‘apachectl configtest’. All was well. Restarted Apached and was happy to see ‘revision 0’. It worked!

All in all in went quite smoothly.

Hopefully this helps someone (or minimally, Future Me).

1 Response to “Creating a Public Subversion Repository”

  1. playpauseandstop Says:

    Hi, Brian

    Thanks for yours How-to ;)

    It helps me to installing Subversion module over working Apache web-server.

    Cheers, Igor Davydenko

Leave a Reply