Protect .svn directories server-wide (Apache)
// protect ".svn" and "CVS" dirs (could add more)
// for server-wide protection; goes in httpd.conf
// there's a separate snippet for .htaccess-based code
// for server-wide protection; goes in httpd.conf
// there's a separate snippet for .htaccess-based code
<DirectoryMatch "^/.*/(\.svn|CVS)/"> Order deny,allow Deny from all DirectoryMatch>