Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Reading .mht webpages from jetty server  RSS feed

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have some .mht files which load fine from local files but when loaded from the jetty webserver display as junk text.

What can I do to make them work correctly from our webserver? I know that for Apache server I need to add the below lines of code to .htaccess file. But how do I make similar changes for Jetty?

<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
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
ScroogeXHTML 8.2 - easy to use RTF to HTML converter library
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!