Top Nav

Block access to .svn folders

Here are three ways in Apache to block access to the .svn folders.

With access controls:

With rewrite rule:

With redirect:

These come from the excellent MDLog:/sysadmin blog at:

http://www.ducea.com/2006/08/11/apache-tips-tricks-deny-access-to-some-folders/