Can't display revit drawings
We host our own website, which has links to Revit drawings. When someone clicks a link to a Revit drawing from Firefox it shows a screen with garbage characters. Someone can link to the same drawing from Internet Explorer and it displays properly. The user has to have the software to view Revit drawings, of course. In Internet Explorer, if the user doesn't have the software they see a message asking them to select a program to open it. If they do have the software, the file opens. In Firefox, if the user does or does not have the software, either way, a screen appears with garbage characters when they click on a link to a revit drawing. Thanks in advance to anyone with a solution!
تمام جوابات (1)
It sounds like you're sending an incorrect MIME type, which makes Firefox treat the file like a web page or text file. You can check if that's the case by examining the Content-Type response header in the Web Console.
From what I could find, there's no associated MIME type for Autodesk Revit files. So you need to send Content-Type: application/octet-stream
- https://developer.mozilla.org/docs/Properly_Configuring_Server_MIME_Types
- http://forums.augi.com/showthread.php?4369-MIME-type-for-rfa-files
You're using a very old version of Firefox that's full of security holes. Your plug-ins are also terribly outdated.
Gingerbread Man کی جانب سے