Bug#207744: mod_proxy adds extra Content-Type to cgi output
Package: apache
Version: 1.3.26-0woody3
mod_proxy adds extra "Content-Type: text/plain" to cgi-script output
from the forwarded server.
For instance, direct access to the forwarded server gives:
telnet server2 80
...
GET x.acgi?y HTTP/1.0
HTTP/1.0 200 OK
Server: WebSTAR/1.0 ID/ACGI
MIME-Version 1.0
Content-type: text/html
....
While access by ProxyPass gives
telnet server1 80
...
HTTP/1.1 200 OK
Date: Fri, 29 Aug 2003 12:21:56 GMT
X-Cache: MISS from server1
Connection: close
Content-Type: text/plain
Content-type: text/html
....
I'm using woody, kernel 2.4.20, libc6 2.2.5-11.5
The problem affects cgi pages only: html pages are correctly forwarded.
Using or not ProxyPassReverse has no effect.
Reply to: