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

Question about Basic Authentication

From: Anastasio, David M CTR USAF AFMC AFLCMC/HNID <David.Anastasio.ctr_at_hanscom.af.mil>
Date: Thu, 6 Sep 2012 11:25:54 -0400

Hello,

 

System Configuration:

Windows Server 2003

Apache Subversion 1.7.6

TortoiseSVN 1.7.9

HTTP Server 2.2.22

 

I am trying to configure Subversion with Basic Authentication but the
error log indicates the user cannot be found which tells me the passwd
file is not being seen.

In this example the top level directory of the Repository is
C:\svnrepos\test1.

IP has been masked for security purposes.

Should the passwd file reside elsewhere? Perhaps relative to the
ServerRoot?

 

LoadModules: - The "mod_auth_basic.so" load module is enabled in
httpd.conf

LoadModule auth_basic_module modules/mod_auth_basic.so

 

Fragment of httpd.conf <Location> directive (it references full path to
the passwd file...)

<Location /svn/>

DAV svn

SVNParentPath c:/svnrepos

AuthType Basic

AuthName "Subversion repositories"

AuthUserFile C:/svnrepos/test1/conf/passwd

Require valid-user

</Location>

 

Fragment from access log:

xxx..xx.x.xx - "" [06/Sep/2012:15:38:37 +0100] "OPTIONS /svn/test1
HTTP/1.1" 401 401

xxx..xx.x.xx - "" [06/Sep/2012:15:38:37 +0100] "OPTIONS /svn/test1
HTTP/1.1" 401 401

 

Fragment from error log:

Thu Sep 06 15:30:48 2012] [error] [client xxx..xx.x.xx] user jimmy not
found: /svn/test1

 

URL from within the TortoiseSVN GUI (on the local machine):

http://<local_host_name>/svn/test1

 

 

David Anastasio

 

Jacobs Technology

 
Received on 2012-09-06 17:26:42 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.