You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Seth Back <se...@netfung.com> on 2006/09/16 23:44:39 UTC

[users@httpd] Apache 1.3 proxy - browsers are displaying html

All -

I have installed an Apache 1.3 proxy acting as a forward proxy for all 
my traffic.  This has been working great for years but recently I have 
run across an issue that I have not been able to figure out, and hours 
of searching google, etc. has turned up nothing.

There are two sites that when the user attempts to access them through 
the proxy, the browser displays some of the http headers and then the 
straight HTML.

This issue is occurring from multiple computers using multiple browsers. 
  In Internet Explorer, several headers are displayed at the top of the 
browser, and then the page is displayed.  In Firefox, the headers are 
displayed, and then the straight HTML.

Using the Live HTTP headers plugin for Firefox, I see the initial GET 
HTTP header sent, then the response, but only HTTP/1.x 200 part of the 
response is displayed in Live header, all the rest of the headers (Date, 
Server, Content-type, etc) are displayed in the browser followed by the 
html.

Has anyone run into this before?  Is this a bug in Apache or something 
with IIS 6?  Nothing has changed on the proxy servers, but I am unable 
to isolate where the problem is coming from.

Thank you in advance for your help -

Seth


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache 1.3 proxy - browsers are displaying html

Posted by Joshua Slive <jo...@slive.ca>.
On 9/16/06, Seth Back <se...@netfung.com> wrote:
> All -
>
> I have installed an Apache 1.3 proxy acting as a forward proxy for all
> my traffic.  This has been working great for years but recently I have
> run across an issue that I have not been able to figure out, and hours
> of searching google, etc. has turned up nothing.
>
> There are two sites that when the user attempts to access them through
> the proxy, the browser displays some of the http headers and then the
> straight HTML.
>
> This issue is occurring from multiple computers using multiple browsers.
>   In Internet Explorer, several headers are displayed at the top of the
> browser, and then the page is displayed.  In Firefox, the headers are
> displayed, and then the straight HTML.
>
> Using the Live HTTP headers plugin for Firefox, I see the initial GET
> HTTP header sent, then the response, but only HTTP/1.x 200 part of the
> response is displayed in Live header, all the rest of the headers (Date,
> Server, Content-type, etc) are displayed in the browser followed by the
> html.
>
> Has anyone run into this before?  Is this a bug in Apache or something
> with IIS 6?  Nothing has changed on the proxy servers, but I am unable
> to isolate where the problem is coming from.
>
> Thank you in advance for your help -

The first thing to do is connect directly to the origin site and get a
dump of exactly what it is sending.  This can tell you if the origin
site is the problem or the proxy.

For example:
telnet iis6.example.com 80
GET / HTTP/1.1
Host iis6.example.com
[enter][enter]

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org