[Zope] Strange pdf problem

Oliver Bleutgen myzope@gmx.net
Tue, 12 Mar 2002 15:03:20 +0100


Markus Schaber wrote:
> Hi,
> 
> We have a pdf file in our database, and there's a Problem with 
> displaying it.
> 
> Using the "native" Address 
> http://multimedia.zawiw.uni-ulm.de/zope/solill/forum-guide.pdf
> both netscape 4.7 and mozilla 0.9.8 load the acrobat plugin, but don't 
> display the file (the window just stays white or grey). I tested this 
> with the linux versions, but one my users (the one who pointed me to 
> this problem) is working with windows, and has the same problem.
> 
> Fetching the via wget or via save-as right klick in a browser works 
> fine, the retreived file can be viewed with acroread without problems.
> 
> Also, accessing the document via https works fine, either through the 
> management interface path
> https://multimedia.zawiw.uni-ulm.de/zmanager/zawiw/solill/forum-guide.pdf 
> and via a https mapping of the native path
> https://multimedia.zawiw.uni-ulm.de/zope/solill/forum-guide.pdf - in 
> both cases, netscape just displays the file via pdf plugin.
> 
> Does anyone have any idea what's happening here?
> 
> Feel free to try to download the file for yourself for diagnostic purposes.
> 
> I'm running zope 2.4.2-0.2 behind apache 1.3.23-1 on linux/2.4.18, all 
> debian testing packets.
> 
> markus

Hi markus, just FYI, it didn't work for me with the first https url 
also. There are some problems when viewing pdfs in-browser comes into 
play. IIRC byterange serving may be involved, see the thread at
http://aspn.activestate.com/ASPN/Mail/Message/zope-List/683104
for instance (the acrobat plugin).
Note that this also concerns some braindead commercial SOHO proxies, not 
only zope, but this is not the case here (we have no such beast, 
unfortunately some of our clients ;-().

Are you using PCGI of FCGI?

cheers,
oliver