Here's a basic recipe for getting MacPorts Subversion running using MacPorts Apache... 1. Disable Apple's 1.3.x server (it runs when you select Apple's "Personal Web Sharing" from the System Preferences). 2. Install Apache under MacPorts and verify that it works correctly, including the autostart setup and all that stuff. In other words, make sure that you've done % sudo launchctl load -w /Library/LaunchDaemons/ org.macports.apache2.plist and reboot your machine and make sure Apache is serving web pages (you should see an "It works!" message for the http://localhost URL). 3. Install Subversion with the Apache variant: % sudo port install subversion +mod_dav_svn 4. Verify that the client part is working by checking out the trunk of the Subversion project: % mkdir svn-trunk % svn co http://svn.collab.net/repos/svn/trunk svn-trunk 5. Create a repository % cd / % sudo mkdir svn-repos % cd svn-repos % sudo mkdir public % sudo svnadmin create --fs-type fsfs public 6. Change the owner to be "www": % cd / % sudo chown -R www svn-repos 7. Add the following lines at the end of the "LoadModule" section in your Apache httpd.conf file: # ----- Subversion: LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so 8. Add the following lines at the end of your Apache httpd.conf file: # # Define Subversion access # <Location /svn/> DAV svn SVNParentPath /svn-repos SVNListParentPath on </Location> Note that this is the world's simplest Subversion access configuration using Apache. It is meant only to be used to help verify that your installation is working properly. Later, you should configure your repository hosting access controls according to the Subversion documentation (http://svnbook.red-bean.com/). 9. Restart Apache to activate your changes: % sudo /opt/local/apache2/bin/apachectl -k restart 10. Now, you should be ready to test your installation. First, point your browser to http://localhost/svn/ . You should see a "Collection of Repositories" page with your "public" repository listed in it. It will be empty, so if you click on it, it will have nothing and be at Revision 0 (go ahead and try it!). Next, go to your home directory and create a project template directory to import as your first revision: % cd ~ % mkdir svn-template % cd svn-template % mkdir trunk branches tags Import your project template directory into the "public" repository using % svn import . http://localhost/svn/public -m "Initial import." Go back to your browser and go to http://localhost/svn/public/ (if you're there already, just refresh the page). You should now see the "branches," "tags," and "trunk" directories listed and the repository should be at Revision 1. That's it. You've got a Subversion server running!