To enter my site users are required to enter their password in the .htaccess box that pops up. I also want to restrict access to the .svn directory. The password part is working fine but when I add the last bit about blocking access to anything under .svn I'm unable to access any page on my site :/
AuthUserFile /path/to/.htpasswd
AuthType Basic
AuthName "Development Area"
Require valid-user
<DirectoryMatch .*\.svn/.*>
Deny From All
</DirectoryMatch>