Re: Determining if a bucket is created by
You can check to see if it's a subrequest.
--
Ray Morris
supp...@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
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
- Determining if a bucket is created by <!--#include or &... Travis Bassetti
- Re: Determining if a bucket is created by <!--#inc... Ben Noordhuis
- Re: Determining if a bucket is created by <!--#inc... Ray Morris