二、windows 2000,则需在IIS里添加一个应用程序扩展名映射。
可执行文件在: C:\WINDOWS\system32\inetsrv\ssinc.dll 。扩展名为:shtml/shtm
·打开IIS管理器,打开“本地计算机”的属性——》MIME类型——》新建
后缀名:.shtml
MIME类型:text/html
·在IIS的定义中,.shtml是SSI组件的一种,必须要把这个启用了。然后你把解析.shtml的程序正确安装,就OK了。
后缀名:.shtml
MIME类型:text/html
请输入密码(ycjan):")
response.End()
else
Response.Write("登陆成功") '登陆成功进行相应操作
end if
%>
0 Then
'符合禁止的IP执行相应的操作
Response.write "您所在的IP禁止访问"
response.end
End If
%>
<script>document.write("测试");</script>
<style type ="text/css">
<!-
a{text-decoration:none}
a:link{text-decoration:none}
a:hover{text-decoration:none}
a:visited{text-decoration:none}
->
</style>