On 24 Jan 2013, at 09:43, 金 戈 wrote:
> Hi, everyone!Sorry, I'm newbie in apache.
> FilterProtocol Directive
> This directs mod_filter to deal with ensuring the filter doesn't run when it
> shouldn't, and that the HTTP response headers are correctly set taking
> into account the effects of the filter.
FilterProtocol is rarely useful: modules usually declare the
protocol information internally.
Or, as in the case of mod_substitute, they may do it themselves.
mod_filter isn't removing content-length, but mod_substitute is!
Find the line
apr_table_unset(f->r->headers_out, "Content-Length");
and remove it!
--
Nick Kew
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]