print $query->header('WWW-Authenticate: Basic realm="Private"'), $query->header('HTTP/1.0 401 Unauthorised');