web-server / # cat /etc/apache2/vhosts.d/00_default_vhost.conf
... <VirtualHost *:80> ... ###### You can... ## # Deny access to .svn folders on Apache... # RedirectMatch 404 /\\.svn(/.*|$) ###### or ... ## # Restrict access to .svn folders on Apache... # <DirectoryMatch .*\.svn/.*> Order allow,deny Deny From All </DirectoryMatch> ... </VirtualHost> ...