Is there a way of disabled byte-range requests in Apache?
Posted
by
Sam Minnée
on Server Fault
See other posts from Server Fault
or by Sam Minnée
Published on 2010-06-16T07:05:55Z
Indexed on
2013/11/07
15:58 UTC
Read the original article
Hit count: 220
apache2
|adobe-reader
I have a web page with a link to a PDF file (target="_blank"
). If I click the link, the PDF reader just shows a grey screen within the Firefox browser.
If I copy that link and manually open it in a new tab, the PDF will display correctly, and subsequent requests made by clicking the original link now work, suggesting that the problem occurs when loading the file into the cache.
It appears as though the Adobe PDF reader plugin is making byte-range requests (I see lots of 206 responses) and I suspect that this may be the cause of the issue.
I am running an Apache webserver. Has anyone had problems with Apache and Adobe's byte-range requests? Are there any workarounds? Perhaps a way of configuring Apache to ignore byte-range requests on PDFs?
© Server Fault or respective owner