[Zope] ProxyPass displaying HTML source

Michal Bencur zope@benko.sk
Fri, 26 Jul 2002 10:53:35 +0200


Hi,

I know this behaviour, it's a bug in mod_proxy in apache (1.3.26).
I had to edit apache (mod_proxy) src files to fix it.
In older apache versions it works, but they are vulnerable
to security bug.
I wrote info in a comment on apache on zopenewbies.net, but I can't
find it now ("Next 15 Postings" does not work on z-newbies).

bYe,
Michal

On Thu, Jul 25, 2002 at 09:31:53PM +0200, Dieter Maurer wrote:
> Jordi YC writes:
>  > I am trying to use Apache as the front-end using SSL. It seems that SSL 
>  > is not an issue, but I am getting HTML source code instead.
>  > ...
>  > 
>  > Date: Thu, 25 Jul 2002 11:29:29 GMT
>  > Connection: close
>  > Content-Type: text/html
>  > Etag: 
>  > Content-Length: 2958
>  > 
>  > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
>  > ....
> Looks like something added an empty line in the set of HTTP headers,
> effectively moving some headers into the response body.
> 
> I would use a logging TCPProxy, such as Shane's "tcpwatch", and
> analyse what precisely is exchanged between the browser
> and the Apache server (no the SSL communication, of course)
> and between Apache and Zope.
> 
> 
> Dieter
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )