A nice tutorial (that I am trying to follow) Trac Apache Subversion recipe
A look in /etc/init.d and /etc/rc5.d shows me that the lighttpd service is up and running, and I could launch apache via the "httpd" service.
Config files for apache and lighttpd on my system are in the following places:
/etc/sysconfig/httpd /etc/sysconfig/lighttpd /etc/lighttpd/lighttpd.conf /etc/httpd/conf/httpd.conf /etc/httpd/conf.d/subversion.confThe first two are not of much interest, the last three are where the action is at.
First hack on httpd.conf. I change just two lines:
Listen 8080 (instead of Listen 80) DocumentRoot "/home/svn/www"I do a service httpd restart and http://server.org:8080 is showing me the new server document root.
I set up a write access password via:
htpasswd -cm /home/svn/users user
Now I hack on subversion.conf. It is already set up to load the appropriate dav modules. I just need to point it to my repository and fiddle some paths as follows:
# This works to expose /home/svn/project as http://server:8080/svn/projectDAV svn SVNParentPath /home/svn # Limit write permission to list of valid users. # Require SSL connection for password protection. # SSLRequireSSL AuthType Basic AuthName "Authorization Realm" AuthUserFile /home/svn/users Require valid-user
proxy.server = ( "/svn" => (("host" => "127.0.0.1", "port" => 8080)) )And voila! The URL http://server/svn/project now works and shows the SVN repository.