On Mon, 27 Nov 2000, Sander van Zoest wrote:
> Ah, are you trying to send ICY headers or something? mod_proxy only knows
> of HTTP and sends the appropriate status itself rather then what it
> gets from the remote server. This will also require some hacks in
> mod_proxy to make it aware of the protocol you are trying to proxy.
Well, I guess C is easier than I thought. I got it working via a new
config directive for mod_proxy, ProxyAddHeaders. By default its true and
this means that mod_proxy will add minimal headers for wack responses from
the proxy server (like HTTP 0.9 or ICY or whatever). However, if you turn
it off it will _not_ add these headers. There is a bug in the current
state of the code in that if the caching code is called, it will add a
Date header if none exists. I'm currently working around this by turning
off caching.
I'm going to see if there is interest in the Apache core team in having
this submitted as a patch. Is so, I'll work around the remaining bug.
In the meantime, if anybody on this list is interested I can send you my
current patch, which is against 1.3.12. Its not many lines so porting it
to a different Apache version should be trivial.
-dave
/*==================
www.urth.org
We await the New Sun
==================*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]