httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andres" <eetas...@online.ee>
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
success.
Empty browser window appears. PDF is not displayed.

ATTEMPT 1

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

Result access log:

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

ATTEMPT 2

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

Result access log:

127.0.0.1 - - [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
127.0.0.1 - - [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
to
 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 <Lauralyn.Ninow@comtrol.com>
>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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message