httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Horner, Jonathan J. (JH8) " <>
Subject RE: mod_proxy and original http headers
Date Tue, 11 Jun 2002 18:11:57 GMT
I think my problem is that http headers from the proxied request are showing
up in the html after Apache returns the content.  I'm pretty sure that
Apache is giving its own headers, so I'm not sure what is going on.

Here is one of my previous posts:

Hi, all.

I'm having my problem again.  

I am using Stronghold on Solaris to proxy content from port 80 on a machine
(Search engine), to port 443 on the same machine.  I do this to provide
authentication and encryption.  

When I use a simply mod_proxy request to proxy the content, like so:

ProxyPass / http://some.IP/
ProxyPassReverse / http://some.IP/

All of my content gets jumbled, here is a copy of the html after it is



HTTP/1.0 200 OK
Server: Ultraseek/3.1 Python/1.5.1
Date: Mon, 10 Jun 2002 12:42:40 GMT
Content-type: text/html
Content-length: 11608


Notice how the ending html tag comes before the content headers.

I changed the configuration to use mod_rewrite, and for a while, it didn't
have the same issue (a few hours, at least),
but now it does.  Here is my config:

RewriteRule ^(.*)$ http://some.IP$1 [proxy]
ProxyRequests   on
NoCache         *
ProxyPassReverse / http://some.IP/

I have contacted my vendor, but have not been able to reach a solution.  

I would appreciate any and all help in this matter.  This seems like a
serious enough issue as to warrant some attention from someone.

Version information:
 Stronghold/3.0 Apache/1.3.12 C2NetEU/3012 (Unix) PHP/3.0.16 mod_ssl/2.6.4
OpenSSL/0.9.5a mod_perl/1.22 configured


Jon Horner, CISSP
SAIC WebPool
Office:  (865) 425-5178
Pager:  (865) 417-5012

> -----Original Message-----
> From: Joshua Slive []
> Sent: Tuesday, June 11, 2002 2:05 PM
> To: ''
> Subject: Re: mod_proxy and original http headers
> On Tue, 11 Jun 2002, Horner, Jonathan J. (JH8)  wrote:
> > I'm having the same proxy issue where content headers are 
> being mangled.
> Same as what?  Context please!
> >
> > My question:
> >
> > How do I tell Apache/mod_proxy to remove the original http 
> headers from the
> > proxied request
> > before sending the results back to the client?  Better yet, 
> how do I make
> > Apache
> > not mangle the returned content before sending to the clients?
> I think you need to be much more specific about what you mean 
> by "mangle
> the returned content".  You should also mention exactly what 
> version of
> apache you are using.  There have been some problems in mod_proxy in
> recent versions of both 1.3 and 2.0.  Some of those problems should be
> fixexd in forthcoming releases.
> You might also want to look at
> Joshua.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message