Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Duplicate headers from Proxy |
|
Author |
|
bushman
Joined: 13 Apr 2006 Posts: 4
|
Posted: Wed 23 Aug '06 21:23 Post subject: Duplicate headers from Proxy |
|
|
I am trying to proxy traffic sent to a particular location on my server to a web app on my intranet.
This has worked fine for three other apps, but with this one, I am getting duplicate headers.
Relavant portion of httpd-vhosts.conf:
Code: | ProxyPass /medianet http://192.168.64.3:8080
<Location /medianet>
ProxyPassReverse /
</Location>
|
(I understand that there are other things I need to do with mod_proxy_html and mod_rewrite, but I can 't get it to work correctly as-is, before I add that stuff)
If I do a manual "telnet" get request against the original server, I get:
Code: | HTTP/1.0 200 OK
Date: Wed, 23 Aug 2006 11:26:15 GMT
Server: MediaNet v1.0.0
MIME-version: 1.0
Content-type: text/html
Last-modified: Wed, 23 Aug 2006 11:26:15 GMT
Connection: close
Content-length: 5056
<HTML>
<HEAD>
etc...
|
But if I access it through the proxy, I get:
Code: | HTTP/1.1 200 OK
Date: Wed, 23 Aug 2006 19:21:24 GMT
Connection: close
Content-Type: text/plain
HTTP/1.0 200 OKDate: Wed, 23 Aug 2006 03:21:25 GMT
Server: MediaNet v1.0.0
MIME-version: 1.0
Content-type: text/html
Last-modified: Wed, 23 Aug 2006 03:21:25 GMT
Connection: close
Content-length: 5056
<HTML>
<HEAD>
etc...
|
Note the duplicate headers (with a blank line between them) and the concatination of the status line and the date line in the second header...
Can anyone shed any light on why this may be, and what I can do about it?
TIA,
Bushman |
|
Back to top |
|
Millennium
Joined: 17 Apr 2006 Posts: 179 Location: Leiderdorp, NL, EU
|
Posted: Thu 24 Aug '06 9:02 Post subject: |
|
|
Are you running NOD32? |
|
Back to top |
|
bushman
Joined: 13 Apr 2006 Posts: 4
|
Posted: Thu 24 Aug '06 13:10 Post subject: |
|
|
Nope... the only antivirus on the apache server is AVG Free edition.
Bushman |
|
Back to top |
|
|
|
|
|
|