You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Franck Lefebure <fl...@orangecaraibe.com> on 2004/01/09 16:28:34 UTC

[users@httpd] Headers not present in response

Hi,
I've a strange problem about client-caching.

I'm comparing the responses of 2 webservers I'm administrator .
    - same os (Red-Hat 7.2, kernel 2.4.18-19.7.xsmp)
    - same httpd (1.3.27, last security patch applied)
    - not same machine (one compaq g2 and one 1850r)

The 2 httpd.conf are equals (cp and some minor changes : name of vhosts)

One one of the 2 servers, I think there are missing headers in responses :

eg (same browser, empty cache):

Request Server 1 (ok):

GET /temp/test_cache.html HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/tiff, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: fr
Cookie: msisdn=0690763983
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: preprod.www.orangecaraibe.com
Connection: Close

Request Server 2 (ko):

GET /temp/test_cache.html HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/tiff, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: fr
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Host: preprod.clementine.orangecenter.com
Connection: Close

Response Server 1 :

[From Req: GET http://preprod.www.orangecaraibe.com/temp/test_cache.html HTTP/1.0]
HTTP/1.1 200 OK
Date: Fri, 09 Jan 2004 13:55:31 GMT
Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_gzip/1.3.26.1a mod_python/2.7.6 Python/1.5.2 mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01 mod_throttle/3.1.2
Last-Modified: Fri, 09 Jan 2004 13:09:20 GMT
ETag: "2bb7b-141-3ffea800"
Accept-Ranges: bytes
Content-Length: 321
Connection: close
Content-Type: text/html

Response Server 2:

[From Req: GET http://preprod.clementine.orangecenter.com/temp/test_cache.html HTTP/1.0]
HTTP/1.1 200 OK
Date: Fri, 09 Jan 2004 14:12:54 GMT
Server: Apache/1.3.27 (Unix)  (Red-Hat/Linux) mod_python/2.7.6 Python/1.5.2 mod_ssl/2.8.4 OpenSSL/0.9.6b DAV/1.0.2 PHP/4.0.6 mod_perl/1.24_01 mod_throttle/3.1.2
Connection: Keep-alive, close
Content-Length: 321
Content-Type: text/html

-----------------------------------------

As you can read, I can't find the headers Last-Modified, ETag, and Accept-Ranges in the Server 2 response.

I really don't understand this,
Has someone any idea ?

Thanks

--
Franck Lefebure