Lighttpd anti-hotlinking for images,i just want these domain to link my imgages (test1.com,newtest2.cn,800keke.net,800org.com.cn),the other site will be redirect to
http://img.test1.com/images/notallow.bmp.
lighttp configuration :
Code:
$HTTP["referer"] !~ "^($|http://.*\.(test1\.com|newtest2\.cn|800keke\.net|800org\.com\.cn))" {
$HTTP["url"] =~ "\.(jpg|jpeg|png|gif)$" {
url.redirect = (".*" => "http://img.test1.com/images/notallow.bmp")
}
}
}
this configure onle effect to test1.com. no effect to (newtest3.cn,800keke.net,800org.com.cn
i still dont know why..