From 97c5647d09bc46c4539028ac6a2c20ed728f0c7f Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Mon, 6 Jun 2016 19:10:42 +0000 Subject: [PATCH] Merge r1737476 from trunk: Add the syntax. Idea from Rob. Submitted by: jailletc36 Reviewed/backported by: jim git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1747054 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ STATUS | 5 ----- docs/manual/mod/mod_include.xml | 13 +++++++++++++ modules/filters/mod_include.c | 10 ++++++++++ 4 files changed, 26 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 6bcbaf13dd..2f1663b859 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.4.21 + *) mod_include: add the +
The config Element

This command controls various aspects of the parsing. The valid attributes are:

diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index 0f3527c0fe..5a6271c5f7 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -1762,6 +1762,15 @@ static int find_file(request_rec *r, const char *directive, const char *tag, } } +/* + * + */ +static apr_status_t handle_comment(include_ctx_t *ctx, ap_filter_t *f, + apr_bucket_brigade *bb) +{ + return APR_SUCCESS; +} + /* * * @@ -4160,6 +4169,7 @@ static int include_post_config(apr_pool_t *p, apr_pool_t *plog, ssi_pfn_register("endif", handle_endif); ssi_pfn_register("fsize", handle_fsize); ssi_pfn_register("config", handle_config); + ssi_pfn_register("comment", handle_comment); ssi_pfn_register("include", handle_include); ssi_pfn_register("flastmod", handle_flastmod); ssi_pfn_register("printenv", handle_printenv); -- 2.50.1