$SERVER["socket"] != ":1337" {
    $HTTP["remoteip"] != "127.0.0.1" {
        $HTTP["url"] !~ "^/failed_func.hosts"{
            auth.backend               = "plain"
            auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
                auth.require = ( "" =>
                    (
                        "method"  => "basic",
                        "realm"   => "LinHES Central Server",
                        "require" => "valid-user"
                    )
                )
        }
    }
}