httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <i...@bnoordhuis.nl>
Subject Re: Determining if a bucket is created by <!--#include or <!--#echo SSI directives
Date Fri, 29 Oct 2010 22:39:45 GMT
On Sat, Oct 30, 2010 at 00:24, Travis Bassetti
<drchong2000-apache@yahoo.com> wrote:
> #include directive via mod_include.    Is there a way to tell when a bucket is
> created via #include?   I want to exclude processing the bucket if it was
> created by the #echo directive.    I can't tell if there is a difference in the
> bucket type when created by #include or #echo.   Is there some other flag or way
> to differentiate these buckets?

I don't think so. You could override the #echo directive with
APR_RETRIEVE_OPTIONAL_FN(ap_register_include_handler) and tag the
bucket in some way.

Mime
View raw message