Authentication in Apache2 with mod_dav_svn
- by Poita_
I'm having some trouble setting up authentication in Apache2 for a SVN repository that's being served using mod_dav_svn.
Here is my Apache config for the directory:
<Location /svn>
DAV svn
SVNParentPath /var/svn/repos
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/apache2/dev.passwd
Require valid-user
</Location>
I can use svn with the projects under /var/svn/repos, so I know that the DAV is working, but when I do svn updates or commits (or anything), Apache doesn't ask for any authentication... It does the exact same thing whether the Auth directives are there or not.
The permissions on the repository directory (and all subdirectories/files) only give permission to www-data (the Apache2 user/group).
I have also ensured that all relevant modules are enabled (in particular mod_auth is enabled, as are all mod_dav* modules).
Any ideas why svn commands aren't authenticating?
Thanks in advance.