$r->header_out->add("WWW-Authenticate" => 'Basic realm="RealmChain"'); $r->send_http_header();