Getting Subversion & Apache running
The trick is to go for the simplest configuration possible, my installation was done on a RedHat 2.6.9-5.EL kernel.
My set up involved getting up an Apache instance (version 2.2.0) running on port 8081 serving only Subversion (version 1.2.3) repositories.
Get Lighthttpd running on port 80 proxying requests to /svn to port 8081 on localhost. The same can be done with a public facing server with proper security measures added in.
First install Apache:
./configure --enable-mods-shared=most --prefix=/usr/local/svnhttpd
make && make install
./configure --with-apxs=/usr/local/svnhttpd/bin/apxs --prefix=/usr/local/subversion --with-apr=/usr/local/svnhttpd/bin/apr-1-config --with-apr-util=/usr/local/svnhttpd/bin/apu-1-config
install && make install
(note: if you don’t use the with apr and with apr util flags to the Apache ones, the server will throw up an error, which I figured out due to this post.)
Edit httpd.conf to make it run on the port you want to run it and add the dav handler for the SVN location.
Allow from all
Deny from all
Start up Apache and you are ready to go!
Next up is Trac, which I will try to install tomorrow.