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

Problem using AuthzSVNAccessFile

From: Carmela Stuart <c.stuart_at_CableLabs.com>
Date: 2004-01-24 01:31:15 CET

 
I am having a problem using the AuthzSVNAccessFile. I am running Apache
2.0.48 and Subversion 0.37.0 on a Windows 2000 platform. I created a
repository under C:\PCRepository and imported the contents of 2
directories called "Tools" and "Test_Scripts". My http.conf contains
the following:
 
________________________________________________________________________
____________________________________
 
<Location /PCRepository>
  DAV svn
  SVNPath C:\PCRepository
 
  AuthType Basic
  AuthName "PCRepository"
  AuthUserFile "C:\Program Files\Apache Group\Apache2\passwd\passwords"
  Require valid-user
  AuthzSVNAccessFile "C:\PCRepository\svn_access_file.txt"
</Location>

 
<VirtualHost 10.5.4.48:443>
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
SSLEngine on
SSLCertificateFile "C:/Program Files/Apache
Group/Apache2/carmelas_ssl/ssl_certificates/otis_cablelabs_com.cert"
SSLCertificateKeyFile "C:/Program Files/Apache
Group/Apache2/carmelas_ssl/ssl_private_keys/otis_cablelabs_com.key"
ServerName otis.cablelabs.com:443
ServerAdmin c.stuart@cablelabs.com
DocumentRoot C:/PCRepository
</VirtualHost>
________________________________________________________________________
___________________________________
 
The commands I issued to create the repository are:
1. svnadmin create C:\PCRepository
2. svn import C:\tmpdir https://otis.cablelabs.com/PCRepository
(The C:\tmpdir directory contains the directories C:\tmpdir\Tools and
C:\tmpdir\Test_Scripts, with each of these subdirectories containing a
single file)
 
________________________________________________________________________
___________________________________
 
My svn_access_file.txt contains the following:
 
[/Tools]
cstuart = rw
 
If I comment out the line "AuthzSVNAccessFile
"C:\PCRepository\svn_access_file.txt", I am prompted for my password (as
user cstuart) and then can access my repository via a web browser and
see the "Tools" directory in the repository. If I don't comment out
this line, then I am prompted for my password 3 time and then denied
access to my repository. Is the format of my svn_access_file.txt
incorrect?
 
Thanks,
 
Carmela Stuart
 
 
 
Received on Sat Jan 24 01:32:02 2004

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.