Re: Snow Leopard 10.6.7 showing wrong version on http://myserver/svn page
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Mon, 27 Jun 2011 20:58:00 -0500
On Jun 27, 2011, at 11:42, davmar wrote:
> Does the client need to have apache2 (MacPorts) running also?
No, Apache is a server program. The server runs the server (Apache with mod_dav_svn in your case), the client runs the client (the Subversion command line client, or TortoiseSVN, or Versions, or any other).
> davmar wrote:
>> MightyMouse:supository davidsantoyo$ svn checkout
Why is "/usr/local" part of your URL? That implies you're serving up the entirety of your hard drive with Apache, which you probably don't want to be doing.
Decide whether you want to serve a single repository, or a collection of repositories all living in a single directory. If one repository, use the SVNPath directive, pointed at that single repository. If multiple repositories, use the SVNParentPath directive, pointed at the repositories' parent directory.
Decide where in your web server's URL space you want the repository(ies) to be accessed from. Previously (and in the subject of this thread) you had suggested "/svn" which seems reasonable. So if you want to serve a single repository you would do this on the command line to create the repository:
svnadmin create /usr/local/svn_repository
And then in your httpd.conf you would add:
(probably inside a specific VirtualHost).
The URL to the repository would then be:
(replace "localhost" with whatever name your VirtualHost is configured for)
Or if you want a collection of repositories, you could do:
And in httpd.conf:
The URL of the repositories would then be:
This is an archived mail posted to the Subversion Users mailing list.