damn IE and pdfs

Posted by scottk on Jun 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.

Reply

Copyright © 2010 SimpIT.com All rights reserved. Theme by Laptop Geek.