[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 15:14:03 -0400

1. Please stop sending HTML/rich text formatted email. The list
prefers plain text.
2. Please stop top-posting. The list convention is inline
comments/bottom-posting.

On Wed, Sep 5, 2012 at 2:54 PM, <jravagno_at_comcast.net> wrote:
> 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??

It may matter. What modules do you have installed?

> <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>

I do not see the paths corrected here as I noted in my previous post
(replace \ with /).

You need to specify the full path to your AuthUserFile. You have not
done so here.

Have you read through the relevant portion of the manual yet?
http://svnbook.red-bean.com/en/1.7/svn.serverconfig.httpd.html

> ________________________________
> 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 21:15: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.