[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: Arthur Pesa <apesa_at_arthurpesa.com>
Date: Wed, 09 Feb 2011 23:49:38 -0800

Thanks for the explanation on parentpath and advice on repos. When I
first laid out my repos I had 3 but I was having trouble connecting so I
removed all but one that I called SVN, I actually uppercased it so it
would stick out in the debug log and other possible error messaging. I
figured I could make all my mistakes here and then go back and lay out
the 3 repos and connect them.

I now have 2 machines working from the same source so I figure tomorrow
I will recreate my original repo layout and configure Apache for those
three. I have used CVS before so I have some exp in the copy merge
model... This will work well.

Thanks again.

On Thu, 2011-02-10 at 01:31 -0600, Ryan Schmidt wrote:
> 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:50:51 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.