Re: Question: how to change the request in input filter and pass it to proxy

2008-04-03 Thread Nick Kew
On Wed, 2 Apr 2008 21:31:27 -0700 Olexandr Prokhorenko [EMAIL PROTECTED] wrote: Hi everyone, I am working on the input filter which is going to catch on input requests, find the bucket with Host: , modify it and pass it through. I will modify it to something that does not belong to my

Re: Question: how to change the request in input filter and pass it to proxy

2008-04-02 Thread Graham Dumpleton
On 03/04/2008, Olexandr Prokhorenko [EMAIL PROTECTED] wrote: Hi everyone, I am working on the input filter which is going to catch on input requests, find the bucket with Host: , modify it and pass it through. I will modify it to something that does not belong to my httpd server, so I

Re: Question: how to change the request in input filter and pass it to proxy

2008-04-02 Thread Graham Dumpleton
This technique is taken from modules/proxy/mod_proxy.c in Apache source code. See the proxy_detect() function in that file for a C code example. One could change request headers on way through in same handler function as setup the proxy. Still need an output filter if you want to change handlers