mod_rewrite, mod_proxy and content-length
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi all,
I have the following rules on my apache 2.2.4 config:
RewriteEngine on
RewriteRule ^/someURL http://anotherURL [P]
where someURL is the a publicly available url, and anotherURL is a private url (localhost on another port). This setup is for restricting access to an application server.
It all works fine, except that the application needs to return an empty body response (ACK) for some HTTP POSTs, and apache is adding the CONTENT-LENGTH: 0 header to those responses, which is an invalid header in the context of the protocol used by the application.
Is there anyway of forcing apache not to add the content-length header to the responses?
[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]