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 > httpd server, so I need to pass it through the proxy module (my > guess ;). I can't use either the static ProxyPass or > ProxyReversePass, because the host will be modified dynamically and > it will depend on what is called and substitute it from the database > call. You're making a mountain of a molehill. You can do the proxying using RewriteRule, and the dynamic mapping using RewriteMap. Or if you want to do it in a module, you can just use a header_parser hook, which is much simpler than a filter. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/