If you direct link to a .mht file that was placed in the fileshare folder such as http://yoursite.com/files/filesharename/myfile.mht everythin works fine and IE or Firefox can interpret it fine. When it is handled through the Fileshare module such as http://yoursite.com/?q=fileshare/files/40/myfile.mht it fails to display and just shows the text of the file instead of the rendered file.

Comments

mbukaty’s picture

I should add that this occurs if the mod rewrite is on as well so the ?q does not exist. It is any time you have drupal handle the files.

mbukaty’s picture

now if I take the link it creates... http://yoursite.com/fileshare/files/40/myfile.mht and put mhtml:http://yoursite.com/fileshare/files/40/myfile.mht it works.

where do I edit where it creates the links and I can fix it myself.

abhishek_jain’s picture

Hi,

i am having tha same problem, but it is not recurring all the times. (my rewrite module is enabled) when i open the link of mht file, some times it gives the garbage, and on refreshing it comes fine.

please suggest