# Disallow viewing of .svn and .git and .hg directory contents <Directory ~ \.(svn|git|hg)> Order allow,deny Deny from all </Directory>