damn IE and pdfs

Posted by scottk on June 23, 2008 in Sysadmin |

paulI was having some issues with pdfs mysteriously not downloading from our image server. Like all things that seem to be an extreme pain in the ass, this behavior seemed to also be an IE and Windows tied behavior.

After much searching I ran across the server.range-requests setting in lighttpd which seems to have fixed up the problem.


$HTTP["useragent"] =~ "\bMSIE" {
$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}
}

The pdfs that were previously locking up the browser are passing on perfectly now.

Baron Vladimir Puzzlekonnen: The Wonderwords must flow.

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.