If you’re using SVN to control your web application, your certainly need to deny access to .svn sub-directories.
With Apache2
<DirectoryMatch "^/.*/\.svn/">
Order allow,deny
Deny from all
</DirectoryMatch>
With lighttpd
$HTTP["url"] =~ "/\.svn/" {
url.access-deny = ( "" )
}
This entry was written by , posted on May 28, 2008 at 7:17 am, filed under http and tagged apache, lighttpd, svn. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
[...] Smashing magazine parla del problema e propone le sue soluzioni. Girando su internet anche altri siti propongono la loro soluzione “Deny access to .svn directories with Apache2 / lighttpd“. [...]