httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janovsky <>
Subject Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri
Date Tue, 14 Sep 2010 19:49:30 GMT
i notice mod_include is implemented as a filter.  is this the preferred way to 
implment ap_sub_req_lookup_file?  currently i implement ap_sub_req_lookup_file 
within a handler responsible for calling the appropriate files.  within the 
handler i only have access to the output_filters, input_filters, 
proto_output_filters and proto_input_filters variables in the request_rec as it 
is not included in a filter chain including any of these variables in the 
ap_sub_req_lookup_file call does not contcatenate the files.

when performing subrequests to concatenate content do you need to run the filter 

From: Ben Noordhuis <>
Sent: Tue, September 14, 2010 1:17:43 PM
Subject: Re: ap_sub_req_lookup_file vs ap_sub_req_lookup_uri

You call it with next_filter=NULL instead of f->next? That'll skip the
regular filter chain, probably not what you want.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message