[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: <jravagno_at_comcast.net>
Date: Wed, 5 Sep 2012 18:54:42 +0000 (UTC)

Andy,

I've tried that here's the updated one from 10 minutes ago.

Still can't authenticate. I also added a new users name and pasword.

Does it matter on what modules I need or not need loaded

for basic authentication??

<Location /svn/>
#<Location C:\svnrepos\test1>
DAV svn
#SVNPath C:\svnrepos\test1
SVNParentPath c:\svnrepos
#SVNListParentPath on
#SVNParentPath C:\svnrepos
# SVNIndexXSLT "/svnindex.xsl"
AuthType Basic
AuthName "Subversion repositories"
AuthUserFile passwd
#AuthzSVNAccessFile svnaccessfile
Require valid-user
</Location>

Jim Ravagno

----- Original Message -----
From: "Andy Levy" <andy.levy_at_gmail.com>
To: jravagno_at_comcast.net
Cc: "Ryan Schmidt" <subversion-2012c_at_ryandesign.com>, users_at_subversion.apache.org
Sent: Wednesday, September 5, 2012 2:34:26 PM
Subject: Re: Trying to authenticate "Basic Setup"

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:55:16 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.