Re: mod_proxy retry

2011-11-04 Thread Sorin Manolache
On Fri, Nov 4, 2011 at 01:18, Jodi Bosa wrote: > thanks but unfortunately it seems mod_include #include virtual does not > appear to support requests to external servers (must not contain a scheme > or hostname - only path and query string). > > > Regardless, I also tried ap_sub_req_lookup_uri():

Re: mod_proxy retry

2011-11-03 Thread Jodi Bosa
thanks but unfortunately it seems mod_include #include virtual does not appear to support requests to external servers (must not contain a scheme or hostname - only path and query string). Regardless, I also tried ap_sub_req_lookup_uri(): static apr_status_t x_response_filter(ap_filter_t *f,

Re: mod_proxy retry

2011-11-01 Thread Nick Kew
On Tue, 1 Nov 2011 13:09:57 -0400 Jodi Bosa wrote: > I couldn't spot anything useful in mod_proxy config, and figured should be > simple enough in an output filter - but how to trigger the resubmit of the > request? If the response is HTML, mod_includes will parse it. It'll also submit another

mod_proxy retry

2011-11-01 Thread Jodi Bosa
I'm looking for a filter that works with mod_proxy to resubmit a request to a server based on something being present in a response. In other words: - client browser directs request through proxy - mod_proxy sends request to server - proxy receives response, parses response, and then pos