You are not logged in.

#1 2006-04-11 02:49:22

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Apache config problem; setting up Subversion repo [SOLVED]

I've been following the instructions on the wiki page for Subversion Setup and have come to a roadblock.  I've done all the configuration changes suggested, generated the ssl cert, created the svn authorization files that are necessary, but hit a wall when trying to restart the server.

When I do <code>/etc/rc.d/httpd restart</code> it fails, and I don't really get anything weird in the <code>/var/log/httpd/error_log</code>, but running <code>apachectl startssl</code> gives me a better clue:

# /usr/sbin/apachectl startssl
Syntax error on line 240 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_authz_svn.so into server: /usr/lib/apache/mod_authz_svn.so: undefined symbol: dav_svn_split_uri

If I try to do the initial import into a test repo, I get this:

svn import -m "Initial import" https://elasticdog.dnsalias.com/svn/test/
svn: PROPFIND request failed on '/svn/test'
svn: PROPFIND of '/svn/test': could not connect to server (https://elasticdog.dnsalias.com)

My network setup is a bit strange in that I'm behind a router that connects to cable internet and I've setup and account with DynDNS in order to always have an address to browse to.  I've set my router to port forward 443 to the correct machine that is hosting the Subversion repos and when I generated the ssl cert, I used that dynamic address as the "Common Name".

Offline

#2 2006-04-11 03:13:41

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Apache config problem; setting up Subversion repo [SOLVED]

Never mind...I fixed it by reordering the order of loading modules (I nievely put them in alphabetical order, when they have to be sequential).  Found that info in the free Subversion book, and will probably edit the wiki to clarify the point.

Offline

Board footer

Powered by FluxBB