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

AW: Problem using AuthzSVNAccessFile

From: Oliver Adolph <Oliver.Adolph_at_intercard.de>
Date: 2004-01-24 13:46:47 CET

You should be aware that mod_authz_svn compares the usernames case
sensitive. I patched myself mod_authz_svn so that it uses case insesitive
Best regards
Oliver Adolph

-----Ursprüngliche Nachricht-----
Von: Carmela Stuart [mailto:c.stuart@CableLabs.com]
Gesendet: Samstag, 24. Januar 2004 01:31
An: users@subversion.tigris.org
Cc: Carmela Stuart
Betreff: Problem using AuthzSVNAccessFile

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"

SSLProtocol all
SSLEngine on
SSLCertificateFile "C:/Program Files/Apache
SSLCertificateKeyFile "C:/Program Files/Apache
ServerName otis.cablelabs.com:443
ServerAdmin c.stuart@cablelabs.com <mailto:c.stuart@cablelabs.com>
DocumentRoot C:/PCRepository
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:
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?
Carmela Stuart
Received on Sat Jan 24 13:47:49 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.