In lighttpd you can use mod_access to deny files starting with a certain expression, such as hidden dot files. (example: .htaccess or .svn)
# Deny access to hidden files
$HTTP["url"] =~ "/\." {
url.access-deny = ("")
}
- sandip's blog
- Login or register to post comments