Created
July 27, 2011 06:09
-
-
Save incanus/1108777 to your computer and use it in GitHub Desktop.
This is my /etc/apache2/other/svn.conf for making Subversion play with the Mac's system Apache. On Lion, I had to install CollabNet's Subversion package (the 10.6 one) to get stuff into /opt.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so | |
LoadModule authz_svn_module /opt/subversion/lib/svn-apache/mod_authz_svn.so | |
<Location "/svn"> | |
DAV svn | |
SVNParentPath /usr/local/svnroot | |
AuthType Basic | |
AuthName "Subversion Repository" | |
AuthUserFile /etc/apache2/other/htpasswd | |
Require valid-user | |
</Location> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Couple other notes that wouldn't fit:
/Developer
./opt
as root, since Installer.app wanted me to be on 10.6./usr/local/svnroot
to be owned recursively by_www:_www
. Just put your repos in there.http://localhost/svn
to see your repos./opt
from Finder (or any other folder for that matter):sudo chflags hidden /opt