summaryrefslogtreecommitdiffstats
path: root/modules/metadata
diff options
context:
space:
mode:
authorGreg Stein <gstein@apache.org>2000-06-24 19:34:11 +0200
committerGreg Stein <gstein@apache.org>2000-06-24 19:34:11 +0200
commit02a2200fd8a67b36003d78858cab8f59d6c3fece (patch)
tree03f4fee4e8422928079b601d4f55ae02362f984f /modules/metadata
parenthttp_request.[ch]: (diff)
downloadapache2-02a2200fd8a67b36003d78858cab8f59d6c3fece.tar.xz
apache2-02a2200fd8a67b36003d78858cab8f59d6c3fece.zip
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
Diffstat (limited to 'modules/metadata')
-rw-r--r--modules/metadata/mod_cern_meta.c4
-rw-r--r--modules/metadata/mod_expires.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/metadata/mod_cern_meta.c b/modules/metadata/mod_cern_meta.c
index ae42c09bf9..346cbf0635 100644
--- a/modules/metadata/mod_cern_meta.c
+++ b/modules/metadata/mod_cern_meta.c
@@ -261,7 +261,7 @@ static int scan_meta_file(request_rec *r, ap_file_t *f)
if (!(l = strchr(w, ':'))) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
"malformed header in meta file: %s", r->filename);
- return SERVER_ERROR;
+ return HTTP_INTERNAL_SERVER_ERROR;
}
*l++ = '\0';
@@ -365,7 +365,7 @@ static int add_cern_meta_data(request_rec *r)
}
ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"meta file permissions deny server access: %s", metafilename);
- return FORBIDDEN;
+ return HTTP_FORBIDDEN;
};
/* read the headers in */
diff --git a/modules/metadata/mod_expires.c b/modules/metadata/mod_expires.c
index dff1dbe42b..bf52f13c81 100644
--- a/modules/metadata/mod_expires.c
+++ b/modules/metadata/mod_expires.c
@@ -422,7 +422,7 @@ static int add_expires(request_rec *r)
if (conf == NULL) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
"internal error: %s", r->filename);
- return SERVER_ERROR;
+ return HTTP_INTERNAL_SERVER_ERROR;
};
if (conf->active != ACTIVE_ON)
@@ -479,7 +479,7 @@ static int add_expires(request_rec *r)
*/
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r,
"internal error: bad expires code: %s", r->filename);
- return SERVER_ERROR;
+ return HTTP_INTERNAL_SERVER_ERROR;
};
expires = base + additional;