/*
- * $Id: client_side.cc,v 1.121 1997/08/10 04:42:35 wessels Exp $
+ * $Id: client_side.cc,v 1.122 1997/08/24 23:13:26 wessels Exp $
*
* DEBUG: section 33 Client-side Routines
* AUTHOR: Duane Wessels
err->http_status = HTTP_MOVED_TEMPORARILY;
err->redirect_url = xstrdup(redirectUrl);
} else {
- err->http_status = HTTP_UNAUTHORIZED;
+ /* NOTE: don't use HTTP_UNAUTHORIZED because then the
+ stupid browser wants us to authenticate */
+ err->http_status = HTTP_FORBIDDEN;
}
errorSend(fd, err);
}
err->type = ERR_ACCESS_DENIED;
err->request = requestLink(http->request);
err->src_addr = http->conn->peer.sin_addr;
- err->http_status = HTTP_UNAUTHORIZED;
+ err->http_status = HTTP_FORBIDDEN;
errorSend(fd, err);
return;
}