[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problems with Apache config to support SVN

From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 10 Feb 2011 01:31:02 -0600

On Feb 9, 2011, at 23:25, Arthur Pesa wrote:

> Ok, Thanks to all who answered.. It was the URL, instead of
> http://localhost/SVN it is http://localhost/SVN/SVN . It must be due to
> the SVNParentPath?? ANyway, I am connected and it works..

Yes, http://localhost/SVN/SVN would be the correct URL for the way you configured it:

>>>> <Location /SVN>
>>>> DAV svn
>>>> SVNListParentPath on
>>>> SVNParentPath "/home/apesa/Development"

The above says: "For the location /SVN (meaning, for the URL http://localhost/SVN/), allow me to tack on the name of any repository in the directory /home/apesa/Development", and you showed earlier that you created a repository called "SVN". Repository name "SVN" tacked onto the end of http://localhost/SVN/ gives http://localhost/SVN/SVN.

If you want to create multiple repositories, consider renaming your existing repository named "SVN" to something else that more clearly communicates what it's for (for example "websites" or "internal-projects", or you could create one repository for each project and name the repository after that project). To rename the repository, you can simply rename its directory using normal OS commands. Then you would have http://localhost/SVN/websites or http://localhost/SVN/someproject.

Or, if you just want a single repository (and that's fine too), consider using "SVNPath /home/apesa/Development/SVN" instead. Then your URL to your repository is just http://localhost/SVN.

Also, consider using <Location /svn> instead of <Location /SVN>. Most users don't expect uppercase characters in URLs, and URLs are case-sensitive.
Received on 2011-02-10 08:31:47 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.