Re: What's the meaning of the FilterProtocol Directive change=1:1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux