The website webpage generates .shtml and cannot be displayed when accessing it_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:53:32
Original
910 people have browsed it

After the website changed the server, it was found that the shtml web page could not be accessed because the .shtml extension was not registered. The solution is as follows

IIS6.0 parses shtm and shtml files due to the security of IIS6.0 It has been greatly improved compared to before, so many functions are turned off by default. A few days ago, I just solved this problem that has been bothering me for a long time. Hehe. Without further ado, let’s start

Open IIS Manager, open the properties of "Local Computer"??》MIME Type??》New
Suffix: .shtml
MIME Type: text/html

Suffix: .shtm
Mime type: text/html

Then click OK. Find the Web service extension and enable the "Include files on the server side" extension, and that's it. (IIS must be restarted, otherwise it will still be inaccessible!)
In the definition of IIS, .shtml is a type of SSI component, and this must be enabled. Then if you install the program that parses .shtml correctly, it will be OK.

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template