After configuring a subversion server for web projects you should take care about the .svn directories and files, ¿how may I secure them from the Internet savage? I found an easy way to do it with the .htaccess file:
RewriteEngine on
RewriteRule .*\.svn/.* – [F]
Don’t forget to enable mod_rewrite, and if you are already using some rule like
RewriteRule ^.*$
be sure of writing first the new rule:
RewriteRule .*\.svn/.* – [F]
RewriteRule ^.*$
Source: http://forum.webfaction.com/viewtopic.php?id=1069