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
compares.
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"
</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 <mailto: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
<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 13:47:49 2004