如何在IIS 6中,启用包括静态文件的处理(HTM)
如何在IIS 6中,启用包括静态文件的处理(HTM)服务器“>网站>右击”YourWebsite“>选择”属性
Home Directory tab > Click Configuration button点击主目录配置选项卡>“按钮
In the popup click on the Add button在弹出的Add按钮点击
In the Add/Edit Application Extension Mapping:在添加/编辑应用程序扩展名映射:
-Executable: “C:\WINDOWS\system32\inetsrv\ssinc.dll”的可执行内容:“C:\的Windows \ System32 \ inetsrv \ ssinc.dll”
-Extension: “.html”|”.htm”延伸的:“。html的”|“热媒。”
-click on Limit To radio button, Type in “GET,POST”上限制为了单选按钮,输入“的GET,POST”
-click OK点击确定
PS:这可以处理一些类似后缀名为 .ssi, .shtml, .html, .htm, etc.这通常适用于所有常见的包括无进一步设置文件扩展名。。。。小型工业,shtml,HTML格式,热媒等
对于IIS 7
[*]Click on the website in IIS 7点击网站在IIS 7
[*]in the center pane, double-click Handler Mappings在中心窗格中,双击处理程序映射
[*]In the right pane, click on Add Module Mapping在右窗格中,单击添加模块映射
[*]In popup在弹出
[*]request path: *.html (this will process html pages using the module selected)请求路径:*. HTML的(这将使用模块选择的过程HTML页面)
[*]module: serversideincludemodule模块:serversideincludemodule
[*]name: HTML ssi processing (or whatever other name you would like to use)名称:小型工业加工的HTML(或任何其他名称,你想用)
[*]Click on request restrictions > Verbs tab > one of the following verbs Radio Button > Type in “GET, POST”要求限制>动词标签单击>“无线电按钮”>键入下列动词之一“的GET,POST”
[*]OK确定
[*]Click OK点击OK
页:
[1]