Hide GIT or SVN files with lighttpd

Add this to the bottom of your lighttpd.conf file:

$HTTP["url"] =~ "/\.(git|svn)/" {
    url.access-deny = ( "" )
}
2009-02-20 [, ]

Comments

Powered by WP Hashcash