On 14 Sep 2010, at 04:08, Jodi Bosa wrote:
> Is there a way that I can "peek" at the request from within a Connection
> filter? In other words, I need to examine the actual HTTP request in order
> to affect something in another Connection filter. A constraint is that I
> cannot modify this othe
when using ap_sub_req_lookup_file to concatenate the contents of two files only
the contents of the first file are delivered in the response. alternatively if
i use ap_sub_lookup_uri to concatenate the contents of two web pages, the
aggregated content is delivered in the response. what is the
ap_sub_req_lookup_file() should work, it's what mod_include uses when
you have on your page. You might want
to take a look at its source.
ben,
thank you for pointing me in the right direction. the only difference i
see
between my call(s) to ap_sub_req_lookup_file and the call(s) within mod_include
is the inclusion of the filter parameter. maybe my understanding of filters is
incorrect. are filters only used to modify resp
write a module that takes
elements of the request and makes a request to another web server at
an
arbitrary URL?
See the proxy modules for examples.
--
Ray Morris
[email protected]
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intel
On 14 Sep 2010, at 18:33, Paul Donaldson wrote:
> Hello,
>
> I am completely new to Apache and Apache Modules, and so I'd be grateful if
> someone could tell me whether it might be possible to write a module that
> takes
> elements of the request and makes a request to another web server at a
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_filter