httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Morris <supp...@bettercgi.com>
Subject Re: Determining if a bucket is created by <!--#include or <!--#echo SSI directives
Date Sat, 30 Oct 2010 15:51:32 GMT
    You can check to see if it's a subrequest.
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 10/29/2010 05:24:22 PM, Travis Bassetti wrote:
> 
> 
> Apache Gurus:
> 
> Is it possible to determine the "origin" of a bucket in a brigade?    
> I have
> written a filter
> 
> 
>     static apr_status_t mod_ssitag_content_filter(ap_filter_t *f,
> apr_bucket_brigade *bb)
> 
>  which needs to provide special processing of any bucket created from  
> the
> #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?
> 
> Thanks for your help!
> 
> Travis
> 


Mime
View raw message