Mobile app version of vmapp.org
Login or Join
Caterina187

: Reading .mht webpages from server We have some .mht files which load fine from local files but when loaded from the remote webserver display as junk text. What can I do to make them work

@Caterina187

Posted in: #Html #Webserver

We have some .mht files which load fine from local files but when loaded from the remote webserver display as junk text.

What can I do to make them work correctly from our webserver?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Caterina187

1 Comments

Sorted by latest first Latest Oldest Best

 

@Angela700

You probably have to enter this in your root's .htaccess file:

<IfModule mod_mime.c>
# MIME HyperText Markup Language (MHTML) markup
AddType text/html .mhtml .mht .maff .maf
AddType message/rfc822 .mhtml .mht
AddType multipart/related .mhtml .mht .maff .maf
</IfModule>


Comment out lines with # for those you don't need. Good luck.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme