I use apache 2.0.54 on Red Hat Fedora Core 4 as a subversion server with
mod_dav_svn and mod_authz_svn.
It's been humming along nicely for several months until today.
All authentication now fails with (from apache error log):
[Sun Aug 21 17:13:02 2005] [error] [client 10.11.12.3]
(13)Permission denied: Could not open password file: /home/svn/users
The permissions on /home/svn/users has not changed since it worked this
morning. I even temporarily applied a "chmod 777" on /home/svn/users
and restarted apache just to check -- still permission denied. I think
something else is wrong. /home/svn/users was created with "htpasswd
-cm" (MD5) months ago and hasn't been touched since.
The /var/log/yum.log revealed that yum updated subversion today:
Aug 21 13:33:11 Updated: subversion.i386 1.2.1-2.1
Aug 21 13:33:12 Updated: mod_dav_svn.i386 1.2.1-2.1
Which is right about when the problem started. Did something change in
the config for mod_dav_svn in 1.2.1-2.1 in a non-backward compatible
way? Here's that portion of httpd.conf:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
# any "/svn/foo" URL will map to a repository /home/svn/foo
<Location /svn>
DAV svn
SVNParentPath /home/svn
DavDepthInfinity On
DavMinTimeout 120
SSLRequireSSL
AuthzSVNAccessFile /home/svn/access
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /home/svn/users
order deny,allow
deny from all
allow from 10.11.12.0/24
</Location>
Thanks for taking a look at this :)
- Ray M
/Off the Microsoft addiction and loving it!/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 22 03:20:08 2005