Using HTTP conditions and url.access-deny to have Lighttpd block some user agents and referers
# deny access for Indy Library a Tester
$HTTP["useragent"] =~ "Indy" { url.access-deny = ( "" ) }
# deny access for a hydrocodone containing refer
$HTTP["referer"] =~ "hydrocodone" { url.access-deny = ( "" ) }