]> granicus.if.org Git - apache/commitdiff
PR59612: Print the ap_expr() error message when an expression cannot
authorEric Covener <covener@apache.org>
Sun, 22 May 2016 12:03:21 +0000 (12:03 +0000)
committerEric Covener <covener@apache.org>
Sun, 22 May 2016 12:03:21 +0000 (12:03 +0000)
be evaluated in forward-dns provider.

Submitted By: Tianyin Xu <tixu cs.ucsd.edu>
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745034 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authz_host.c

index 2236b65ceae2a45c2bb54cd04dbe2251db16bad8..4439d98523c19417033441f6afc1e92b79620576 100644 (file)
@@ -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;
     }