httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres" <>
Subject [users@httpd] RE: IE6+Adobe Reader 5 will not open a PDF File from CGI app
Date Sun, 06 Apr 2003 18:44:27 GMT
Lauralyn, thank you for assistanse.

According to this, I make two attemps (two returning two different set of
headers from CGI) to return pdf file to IE 6 from a CGI app, but without
Empty browser window appears. PDF is not displayed.


Content-type: application/pdf
Content-Disposition: inline,filename=_0x9123445.pdf
Location: /eeva/_0x9123445.pdf

Result access log: - - [06/Apr/2003:21:14:16 +0300] "POST
/eeva/eva.exe/PrintRun.pdf?Type=P&SubType=P&Id=&Form=LAOSEIS HTTP/1.1" 200


Status: 302 Moved
Content-Disposition: inline,filename=_0x919czwm.pdf
Location: /eeva/_0x919czwm.pdf

Result access log: - - [06/Apr/2003:21:09:48 +0300] "POST
/eeva/eva.exe/PrintRun.pdf?Type=P&SubType=P&Id=&Form=LAOSEIS HTTP/1.1" 302 0 - - [06/Apr/2003:21:09:52 +0300] "GET /eeva/_0x919czwm.pdf
HTTP/1.1" 200 5555

Additional info:

1. Some PDF files are displayed and some not. It seems that this is related
 PDF file contents-CGI-Apache combination.
If i use other web server which servers the same pdf files without CGI, all
pdf files are displayed in IE 6 !

2. After pressing Refresh button and answering Retry, my CGI app receives a
GET request instead of original POST request.

Any help ?

>From: Lauralyn Ninow <>
>you have to provide the filename in the header for it to work in IE.

>(sorry, this is asp code:)
>Response.AddHeader "Content-Disposition", "filename=" & objF.ShortName

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message