httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Burns/DHD" <ja...@danni.com>
Subject Re: Apache-1.3 proxy: Broken "Server:" header
Date Thu, 14 Mar 2002 14:27:53 GMT

It appears to me there is some bug in the proxy code in dealing with
headers.
My first thought was that the duplicate Page-Compeltion-Status header line
(due to
a bug I just reported in Cold Fusion) was causing the problem but perhaps
not.
After going through the apache proxy, I loose the original Server header,
get one Page-Completion-Status header removed and most unfortunatly loose
one Set-Cookie header.

Is there something in the proxy header code that is trying to merge
duplicate looking header lines?


Here are the headers from my origin server.

Date: Tue, 12 Mar 2002 07:27:48 GMT
Server: Apache/1.3.23 (Unix) mod_ssl/2.8.7 OpenSSL/0.9.6c
Page-Completion-Status: Normal
Page-Completion-Status: Normal
Set-Cookie: CFID=347523; expires=Sun, 27-Sep-2037 00:00:00 GMT; path=/;
Set-Cookie: CFTOKEN=63350939; expires=Sun, 27-Sep-2037 00:00:00 GMT;
path=/;
Content-Type: text/html

Then here is a request to the same page but through an apache proxy.

Date: Tue, 12 Mar 2002 07:29:39 GMT
Server: Apache/1.3.23 (Unix) PHP/4.1.2
Content-Type: text/html
Page-Completion-Status: Normal
Set-Cookie: CFTOKEN=91740721; expires=Sun, 27-Sep-2037 00:00:00 GMT;
path=/;
X-Cache: MISS from www.danni.com
Connection: close


Jason Burns



                                                                                         
      
                    Graham                                                               
      
                    Leggett              To:     dev@httpd.apache.org                    
      
                    Sent by:             cc:                                             
      
                    minfrin              Subject:     Re: Apache-1.3 proxy: Broken "Server:"
   
                                         header                                          
      
                                                                                         
      
                    03/14/2002                                                           
      
                    03:41 AM                                                             
      
                    Please                                                               
      
                    respond to                                                           
      
                    dev                                                                  
      
                                                                                         
      
                                                                                         
      




Martin Kraemer wrote:

> Just noticed today when I tried the Apache-1.3 proxy:

>   Server: Apache/1.3.24-dev (Unix)

> Uhhh... -- Microsoft uses Apache-1.3.24-dev? That *MUST* be an error! ;-)
>
> Looks like the proxy no longer keeps the original Server: line from
> the origin server's response, but replaces it by its own.

Are you sure it's not the Apache core that is doing this? If r->proxyreq
is not zero, then the core should leave "Server" alone.

Regards,
Graham
--
-----------------------------------------
minfrin@sharp.fm                    "There's a moon
                                                    over Bourbon Street
                                                              tonight..."




Mime
View raw message