diff options
author | Fabien Coelho <fabien@apache.org> | 2012-12-08 14:49:09 +0000 |
---|---|---|
committer | Fabien Coelho <fabien@apache.org> | 2012-12-08 14:49:09 +0000 |
commit | 0886d3fcaf821b94f65c92d0907433162e23d948 (patch) | |
tree | 3b56533d14b7e1f95f35425f39e4ce742d651576 /server/config.c | |
parent | 48a3a922e2ea57af45c29c018a44bfd1921c7291 (diff) | |
download | httpd-0886d3fcaf821b94f65c92d0907433162e23d948.tar.gz |
Add minor 'Warning' directive as defined in current mod_macro.
* server/core.c: add 'Warning' directive by extending the 'Error'
directive implementation. The 'Error' behavior is slightly changed
so as to use verbose ap_log_error instead of returning the message.
* docs/manual/mod/core.xml: add documentation for 'Warning'.
* server/config.c: add comment about syntax vs configuration errors.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1418677 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/config.c')
-rw-r--r-- | server/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/config.c b/server/config.c index b8b5033aff..0483ce20cb 100644 --- a/server/config.c +++ b/server/config.c @@ -1811,6 +1811,9 @@ AP_DECLARE(const char *) ap_process_resource_config(server_rec *s, if (error) { if (parms.err_directive) + /* note: this may not be a 'syntactic' error per se. + * should it rather be "Configuration error ..."? + */ return apr_psprintf(p, "Syntax error on line %d of %s: %s", parms.err_directive->line_num, parms.err_directive->filename, error); |