Ian Holsman wrote: > what about the case where you need to change the header based on a environment > variable set in mod_include before the request to the proxy. > > eg.. > > .. > <!--#set foo=bar--> > <!--#include virtual file="/proxycall" --> > <!--#set foo=bar2--> > <!--#include virtual file="/proxycall" --> > .. > > can this kind of thing be done via input-filters/mod_header?? > I put a patch in for a specific hook in mod_proxy to do something like > this, but it was mentioned that input filters were a better way to go, > but based on other discussions it seems like input filters won't be able > to handle this ...
AFAIK mod_header applies to subrequests too, which means that yes you
can do this. If you can't, then it's a bug.
Just make sure that RequestHeader or Header is put into context using
<Location /proxycall/>.
Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED] "There's a moon
over Bourbon Street
tonight..."
smime.p7s
Description: S/MIME Cryptographic Signature
