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

Re: Trying to authenticate "Basic Setup"

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 5 Sep 2012 14:34:26 -0400

Please don't send HTML-formatted email to the list.

On Wed, Sep 5, 2012 at 1:01 PM, <jravagno_at_comcast.net> wrote:
> <Location /svn/>
> #<Location C:\svnrepos\test1>
> DAV svn
> #SVNPath C:\svnrepos\test1
> SVNParentPath c:\svnrepos
> #SVNListParentPath on
> # SVNIndexXSLT "/svnindex.xsl"
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile C:\svnrepos\test1\conf\passwd
> #AuthzSVNAccessFile svnaccessfile
> Require valid-user
> </Location>

Change your DOS backslashes to regular slashes (\ to /) in the paths.
Apache is interpreting them as an escape character.

When you point at your repository, you should be pointing at
http://server/svn/REPOSNAME where REPOSNAME is the name of the
directory you've created under c:\svnrepos when creating the
repository. So if you ran:

svnadmin create c:\svnrepos\test1

then your URL is http://servername/svn/test1/

> ________________________________
> From: "Ryan Schmidt" <subversion-2012c_at_ryandesign.com>
> To: jravagno_at_comcast.net
> Cc: users_at_subversion.apache.org
> Sent: Wednesday, September 5, 2012 11:40:29 AM
> Subject: Re: Trying to authenticate "Basic Setup"
>
>
>
> On Sep 5, 2012, at 10:27, jravagno_at_comcast.net wrote:
>
>> I get the followning error:
>> "Unable to connect to a repository at URL
>> 'http://localhost/svnrepos/test1'
>
> It sounds like that's not the URL of the repository. Show us the relevant
> part of your httpd.conf.
>
Received on 2012-09-05 20:35:40 CEST

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.