« October 2008 | Main | September 2011 »

March 31, 2009

SVN on MacOS X 10.5

OK, so I was setting up SVN on a MacOS X Leopard (10.5) server, and had a couple of problems. Most of these were relatively easily solved, but here are the secrets that are not revealed by Apple's instructions.

You cannot restart the server once you enable the mod_dav_svn module, until you have at least one site configured to allow WebDAV (under the Options pane in the site config on Server Admin). You might also have to allow folder listing; I don't recall if that was a problem or not.

You have to edit the sites file to do more than put in the DAV and SVNParentPath directives, because the file is not written correctly.

You MUST MUST MUST comment out the ErrorDocument line in the site configuration, or you will get an error like:

Error: 2 (No such file or directory) Description: PROPFIND request failed on 'your project'

(and another that the SVN directory could not be opened)

There's a good two hours gone, almost all on that last part.

Posted by jeff at 11:16 AM | TrackBack