I've got SVN setup on my home server, I'm trying to get htaccess working so I can password protect the /var/www/html/svn/repos folder where all my code is kept.
The subversion.conf file looks like this:
<Location /repos>
DAV svn
SVNPath /var/www/html/svn/repos
# Limit write permission to list of valid users.
<LimitExcept GET PROPFIND OPTIONS REPORT>
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthBasicProvider file
AuthName "Subversion repos"
# AuthUserFile /etc/svn-auth-conf
AuthUserFile /home/myname/passwordfile
Require valid-user
</LimitExcept>
</Location>
The passwordfile file is in place and I've added a username and password. I've confirmed its working by placing a test folder in the html directory (/var/www/html/test/index.html), I've also added the .htaccess file, so when I turn on apache and try access http://IP_ADDRESS_OF_HOME_SERVER/test/index.html
, I am prompted for a username and password.
For some reason I'm just not prompted for the username and password when trying to access http://IP_ADDRESS_OF_HOME_SERVER/repos/
Any help appreciated.