Mongrel not serving PDFs (I tried to fix mime-type)

I put the following in a file "config/mime.types"

.pdf: application/pdf

then I start mongrel with:

mongrel_rails start -m config/mime.types

ideally, when you switch to a production environment, you'll have apache serving these pdf files directly, but until then, you can use the method above.


Probably because Microsoft makes sure that all their products work together on another plane of existence. You should read about the crap IE does so that it works faster with IIS and slower with other servers, AND at the TCP/IP level no less.