Editing
Archive
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Subversion=== ====Create a Subversion repository==== Since Snow Leopard already has Subversion, no software installation is required. sudo mkdir -p /Library/Subversion/Repository sudo svnadmin create /Library/Subversion/Repository/bonelab We also need to ensure that the repository is editable by the webserver user. chown -R www /Library/Subversion ====Configure the server via Server Admin==== =====Enable Apache modules===== # Click Web in the Sidebar # Click Settings in the top bar # Select the Modules tab # Check the following modules: #* authz_svn_module #* dav_module #* dav_fs_module #* dav_svn_module =====Enable WebDAV on your site===== # Click Sites in the top bar # Select your site # Click the WebDAV checkbox =====Create a Realm===== # Select the Realms tab # Click �+� under the Realms box and enter the following: #* Realm Name: subversion #* Authentication: Basic #* Location: /svn (Note: You have to change the dropdown) # Click �+� under the Users & Groups box, and drag/drop the users/groups that you want to give access to. Also be sure to give them read/write privileges. # Click the Save button. ====Tweak the config file==== Edit the file /etc/apache2/sites/0001_any_443_default.conf. TIn the <Location "/svn"> section, add the following two lines: DAV svn SVNParentPath /Library/Subversion/Repository ====Restart the web server==== You can do this from Server Admin. ====Fixing it if it breaks==== Note: It often happens that when you use the Server Admin utility, it will overwrite the following line. The symptom of this is "page not found" error when you try to access svn. SImply change, in /etc/apache2/sites/0001_any_443_default.conf, <Location "/svn/"> DAV Off Back to <Location "/svn/"> DAV svn After you modify this file, you will need to do this: sudo apachectl restart
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information