In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the configuration method of apache's normal access to mht type files. Friends who need it can refer to it.
I. brief introduction of mht file
MHTML files are also known as aggregated HTML documents, Web archives, or single-file web pages. A single file page saves all elements of a Web site, including text and graphics, to a single file. This encapsulation allows you to publish an entire Web site as a single embedded MIME (MIME: a list of standards for delivering multimedia resources over Internet connections. The MIME type notifies the aggregate HTML document (MHTML) file of the content contained in the program object, such as graphics, sound, or video, or sends the entire Web site as an email or attachment. This format is supported by Internet Explorer 4.0 and later.
II. The solution of apache supporting mht files
The reason for the problem: all ppt files are saved as a single web page mht type file, there is no problem to open this type of file directly using ie. After putting it on the server (apache), embed the file using iframe http://www.bbqmw.net/qm_bbqmbd/, and the browser will not display properly.
Because apache does not support the mht file format by default, we need to add it manually.
Open the conf/mime.types file in the apache installation directory and find this line
The copy code is as follows:
Message/rfc822 eml mime
Add mht at the end
The copy code is as follows:
Message/rfc822 eml mime mht
Maybe the version of apache is different, and the content behind message/rfc822 is different, as long as you add mht to the original.
Save the file, restart apache, and access the mht file will be normal.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.