You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rhodes, Phillip C." <Ph...@alcoa.com> on 2002/03/18 21:42:08 UTC

mod_proxy header problem (test results here)

I am having problems accessing pdf files from certain types of clients
(adobe version, os, etc) when getting the pdf file via mod_proxy.  If one
goes straight to the pdf file (no mod_proxy in between), there is no
problem.

I did 2 tests and captured all the headers.  In Test 1, I made the request
for the pdf file via mod_proxy.  Test 2 goes straight to the web server
(iis).  I cut out the content returned for brevity.

In brief, the request using mod_proxy does Transfer-Encoding of chunked, and
returns no content length.  Not using mod_proxy, there is no
Transfer-Encoding and there is a content length.

The request agent used to make the request was the same (my program).  User
Agent sent was "MakeHttpRequest"

Below is result headers for the two tests.  Any help would be appreciated.


Test 1 (Using mod_proxy)
HTTP/1.1 200 OK
Date: Mon, 18 Mar 2002 20:24:01 GMT
Server: Apache/2.0.32 (Unix) mod_ssl/3.0a0 OpenSSL/0.9.6b
Content-Type: application/pdf
Accept-Ranges: bytes
Last-Modified: Thu, 05 Apr 2001 23:00:00 GMT
ETag: "098172424bec01:7e7"
Connection: close
Transfer-Encoding: chunked

1f04
....snipped!


Test 2 (straight -NO mod_proxy)
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Connection: close
Date: Mon, 18 Mar 2002 20:25:20 GMT
Content-Type: application/pdf
Accept-Ranges: bytes
Last-Modified: Thu, 05 Apr 2001 23:00:00 GMT
ETag: "098172424bec01:7e7"
Content-Length: 65044

%PDF-1.3
....snipped!
 

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: mod_proxy header problem - pdf

Posted by Irmund Thum <it...@it97.dyn.dhs.org>.
Rhodes, Phillip C. wrote:

> I am having problems accessing pdf files from certain types of clients
> (adobe version, os, etc) when getting the pdf file via mod_proxy.  If one
> goes straight to the pdf file (no mod_proxy in between), there is no
> problem.

I've unset proxy for *.pdf in the Netscape Proxy Servers = NoProxy in 
Apache. Time to test the new 1.3.24
:-

-- 
_ ___
|  |  Irmund    Thum
|  |


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org