-----Original Message-----
From: [email protected] [mailto:rails- [email protected]] On Behalf Of s.ross
Sent: Tuesday, August 01, 2006 11:13 AM
To: [email protected]
Subject: [Rails] [OT] PDF’s not Downloading in Win/IE
I had a huge problem like this a few weeks ago, and I don’t think it is
specific to rails. Just serving static PDF’s was the problem.
It only happens on IE + Acrobat Reader attempting to open in the same
window, and (I believe) only if they are configured via named virtual
host.
If I used FF, everything worked. If I used xpdf or such, everything
worked. Wget worked. Acrobat full version worked. If I used IE +
Acrobat Reader with the ‘open in same window’ option turned off, it
worked.
I installed several servers to see where it would replicate:
I’m curious to know if the problem affects other versions. Could you
tell me the distro of Linux and versions of Apache, IE, and Acrobat
Reader that cause the problem?
I solved Lighty via a post I found on google:
$HTTP[“url”] =~ “.pdf$” { server.range-requests = “disable” }
We solved it the same way…
One issue I ran into a couple of years ago is that IE will download
(itself) PDF’s up to about a meg. Then it will decide it’s too big, and
hand it off to Adobe to do.
Which means if you have any http-auth credentials, or the PDF is the
result of a POST, you are fubarred…
Not sure this is your problem, but something to keep in mind. And maybe
it’s changed, but it drove me nuts when it happened to me…
-philip
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.