This Apache configuration snippet can help protect in the case where someone performs a ‘svn checkout’ instead of a ‘svn export’ into a web accessible directory. It denies access to .svn
directories.
<directoryMatch "\.svn/"> Order Deny,Allow Deny from all </directoryMatch> |