mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
blast the old names for the status codes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85686 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -79,14 +79,14 @@ static int asis_handler(request_rec *r)
|
||||
if (r->finfo.protection == 0) {
|
||||
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
|
||||
"File does not exist: %s", r->filename);
|
||||
return NOT_FOUND;
|
||||
return HTTP_NOT_FOUND;
|
||||
}
|
||||
|
||||
if ((status = ap_open(&f, r->filename, APR_READ,
|
||||
APR_OS_DEFAULT, r->pool)) != APR_SUCCESS) {
|
||||
ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r,
|
||||
"file permissions deny server access: %s", r->filename);
|
||||
return FORBIDDEN;
|
||||
return HTTP_FORBIDDEN;
|
||||
}
|
||||
|
||||
ap_scan_script_header_err(r, f, NULL);
|
||||
|
Reference in New Issue
Block a user