I’m configuring my svn server and I’m successful logging in using “Basic” as the AuthType, but not using Digest.
Here’s how my setup looks.
Creating my auth file using:
htpasswd2 -cm /srv/repositories/svn/user_access/svn-auth-dbfile
http.conf settings:
LoadModule authn_file_module /usr/lib/apache2-prefork/mod_authn_file.so
LoadModule auth_digest_module /usr/lib/apache2-prefork/mod_auth_digest.so
LoadModule dav_module /usr/lib/apache2-prefork/mod_dav.so
LoadModule dav_svn_module /usr/lib/apache2-prefork/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2-prefork/mod_authz_svn.so
vhost.conf settings:
<IfModule mod_dav_svn.c>
<VirtualHost *:80>
ServerName svn.domainname.com
<Location /svn>
DAV svn
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
SVNParentPath /srv/repositories/svn
AuthType Digest
AuthName "Repository Authorization Realm"
AuthDigestDomain /svn/
AuthBasicProvider file
AuthDigestAlgorithm MD5
AuthUserFile /srv/repositories/svn/user_access/svn-auth-dbfile
Require valid-user
</Location>
</VirtualHost>
</IfModule>
Any suggesting as to why this is not working? I keep getting the 401 Authorization Required.