From: Eric Covener Date: Sun, 22 May 2016 12:03:21 +0000 (+0000) Subject: PR59612: Print the ap_expr() error message when an expression cannot X-Git-Tag: 2.5.0-alpha~1584 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0606a8e2468663992c000adbaa88e7c9843e2967;p=thirdparty%2Fapache%2Fhttpd.git PR59612: Print the ap_expr() error message when an expression cannot be evaluated in forward-dns provider. Submitted By: Tianyin Xu Committed By: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745034 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authz_host.c b/modules/aaa/mod_authz_host.c index 2236b65ceae..4439d98523c 100644 --- a/modules/aaa/mod_authz_host.c +++ b/modules/aaa/mod_authz_host.c @@ -230,6 +230,7 @@ forward_dns_check_authorization(request_rec *r, require = ap_expr_str_exec(r, expr, &err); if (err) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(03354) + "authz_host authorize: require forward-dns: " "Can't evaluate require expression: %s", err); return AUTHZ_DENIED; }