|
|
|
@ -155,22 +155,21 @@ $HTTP["host"] =~ "(zzz).example.org" {
|
|
|
|
|
url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$HTTP["host"] =~ "(remoteip).example.org" {
|
|
|
|
|
$HTTP["remoteip"] =~ "(127.0.0.1)" {
|
|
|
|
|
$HTTP["host"] =~ "(remoteip)\.example\.org" {
|
|
|
|
|
$HTTP["remoteip"] =~ "(127\.0\.0\.1)" {
|
|
|
|
|
url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$HTTP["remoteip"] =~ "(127.0.0.1)" {
|
|
|
|
|
$HTTP["host"] =~ "(remoteip2).example.org" {
|
|
|
|
|
$HTTP["remoteip"] =~ "(127\.0\.0\.1)" {
|
|
|
|
|
$HTTP["host"] =~ "(remoteip2)\.example\.org" {
|
|
|
|
|
url.redirect = ( "^/redirect/$" => "http://localhost:2048/%1" )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# deny access for all image stealers
|
|
|
|
|
$HTTP["host"] == "referer.example.org" {
|
|
|
|
|
$HTTP["referer"] !~ "^($|http://referer\.example\.org)" {
|
|
|
|
|
url.access-deny = ( ".png" )
|
|
|
|
|
$HTTP["host"] =~ "bug255\.example\.org$" {
|
|
|
|
|
$HTTP["remoteip"] == "127.0.0.1" {
|
|
|
|
|
url.access-deny = ( "" )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -178,3 +177,10 @@ $HTTP["referer"] !~ "^($|http://referer\.example\.org)" {
|
|
|
|
|
url.access-deny = ( ".jpg" )
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# deny access for all image stealers
|
|
|
|
|
$HTTP["host"] == "referer.example.org" {
|
|
|
|
|
$HTTP["referer"] !~ "^($|http://referer\.example\.org)" {
|
|
|
|
|
url.access-deny = ( ".png" )
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|