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 = ("")
}
            .htaccessDeny access to .htaccess files in lighttpdSubmitted by sandip on Sun, 06/27/2010 - 21:36In 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»    
  | 
    
        
  User loginRecent blog posts
 Who's onlineThere are currently 0 users and 3 guests online. 
  |