The.shtml page access on the windows server could not display the solution

  • 2020-05-13 03:55:11
  • OfStack

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

IIS6.0 parsing shtm,shtml files due to the security of IIS6.0 has been particularly improved, so many functions are closed by default, just a few days ago to solve this problem that has been bothering me for a long time

Open the IIS manager and open the properties of "local computer" -- type MIME -- new
Suffix name:.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" extension. (IIS must be restarted or still not accessible!)
In the definition of IIS,.shtml is one of the SSI components, and this must be enabled. Then you put the parse.shtml program up correctly, and OK is up.


Related articles: