📄 1.htm
字号:
</li>
<li style="line-height: 25px">可在ASP网页中编写指令码<br style="line-height: 25px">
</li>
</ul>
</li>
<li style="line-height: 25px">
<font face="arial" color="#3e80d7" size="2" style="line-height: 25px">
<b style="line-height: 25px"> ADSI 2.0 </b></font>将自订物件、属性和方法新增到现有的Microsoft
Active Directory Service Interfaces(ADSI)提供者中,使您能更灵活地设定网站。<br style="line-height: 25px">
</li>
</ul>
</font>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
有关这些新功能的更详细资讯,请参阅IIS 5.0线上说明文件中〈功能〉的说明。</font></p>
<p><font face="arial" color="#3e72d7" size="4" style="line-height: 25px">
<b style="line-height: 25px">网际网路标准<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">本节讨论IIS
5.0带来的新网际网路标准。若需更详细的资讯,请参阅IIS 5.0线上说明文件。</font></p>
<font face="arial" color="#000000" size="2" style="line-height: 25px">
<ul style="line-height: 25px">
<li style="line-height: 25px">
<font face="arial" color="#3e80d7" size="2" style="line-height: 25px">
<b style="line-height: 25px"> Web Distributed Authoring and
Versioning,WebDAV </b></font>能让远端的工作者透过
HTTP连线来编辑、移动或删除您伺服器上的档案、档案属性、目录、以及目录属性。<br style="line-height: 25px">
</li>
<li style="line-height: 25px">
<font face="arial" color="#3e80d7" size="2" style="line-height: 25px">
<b style="line-height: 25px"> FTP断线续传 </b></font>File Transfer Protocol(FTP)可以在资料传输中断时,继续下载档案。<br style="line-height: 25px">
</li>
<li style="line-height: 25px">
<font face="arial" color="#3e80d7" size="2" style="line-height: 25px">
<b style="line-height: 25px"> HTTP压缩 </b></font>在Web伺服器和允许压缩的用户端之间能更快地传输网页。这个功能可以压缩和快取静态档案,也可以压缩动态产生的档案。<br style="line-height: 25px">
</li>
</ul>
</font><a name="201002" style="line-height: 25px">
<p><font face="arial" color="#3e70d7" size="5" style="line-height: 25px">
<b style="line-height: 25px">IIS 5.0的结构<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
下面几节将描述IIS 5.0的元件是如何分工合作。首先介绍IIS 5.0的整个结构,接着讨论它的管理和可程式性结构,最後讨论如何整合Windows 2000
Server其他服务和其他Microsoft产品来增强IIS 5.0的功能。</font></p>
<p><font face="arial" color="#3e72d7" size="4" style="line-height: 25px">
<b style="line-height: 25px">结构概述<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">IIS
5.0是Windows 2000 Server所提供的服务,所以能和Windows 2000 Server上的其他服务紧密地合作。图1-1说明了IIS
5.0与安装在Windows 2000 伺服器上之其他服务彼此间的关系。</font></p>
<p><br style="line-height: 25px">
</p>
<center style="line-height: 25px">
<p>
<input id="1" onclick="imgclick" type="image" src="f01dd01.gif" border="0" style="line-height: 25px" width="700" height="379"></p>
</center><center style="line-height: 25px">
<table border="0" style="line-height: 25px">
<tbody style="line-height: 25px">
<tr style="line-height: 25px">
<td align="middle" style="line-height: 25px">
<font face="arial" color="#000000" size="2" style="line-height: 25px">
图1-1 IIS 5.0的结构</font></td>
</tr>
</table>
</center>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
标准网际网路服务(Web和FTP伺服器)存在於一个名为Inetinfo的程序中,这个程序除了这些服务,还包含了共用执行绪、快取、和IIS 5.0的登入服务。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">因为IIS
5.0和Windows 2000 Server共用同一个安全模型(使用者帐户),所以不再需要管理多馀的使用者帐户。IIS 5.0同时也借用Windows
2000 Server 现有的管理工具,如系统监视器、事件检视器和MMC来处理相似的管理程序。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
下面几节将描述Windows 2000中和IIS 5.0整合在一起的工具。</font></p>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">Microsoft Management Console<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">MMC有一些称作<font face="arial" color="#3e80d7" size="2" style="line-height: 25px"><b style="line-height: 25px"> 嵌入式管理管理单元 </b></font>的程式,透过它们,您就可以管理您的伺服器。MMC提供了一个公用框架,各种管理单元都能在其中执行,因此您能用同一个介面来管理数个服务。除了整合和标准化的管理工具外,在MMC
中也能自订控制台,您可以选用特定的管理单元,建立仅包含所需管理工具的管理主控台。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
举例来说,透过IIS 5.0之MMC中的Internet Services Manager嵌入式管理单元,您能管理已安装IIS
5.0之电脑上的所有网站。再举一个实例,Microsoft Component Services包含一个MMC管理单元,您能透过它管理所有网站的异动。</font></p>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">Active Server Pages和Microsoft Script Debugger<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
ASP是伺服器端应用程式环境,能让您建立动态网站和强大的网站应用软体。ASP网页包含HTML标签(Tag)、本文、指令码(Script)。这个指令码是在伺服器上执行并把结果返回给送出请求的浏览器。ASP网页能呼叫Microsoft
Component Object Model(COM)元件完成各种工作,如连结到资料库或执行商务计算。透过ASP,您能在您的Web网页中新增互动式的内容或建立使用HTML
的网页作为使用者介面的Web应用程式。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
Microsoft Script Debugger能帮您快速侦错,并能测试伺服器端ASP网页中的指令码。和Microsoft Internet
Explorer 3.0或更新版本一起使用的Script
Debugger还包含即时(Just-In-Time,JIT)侦错功能。当错误中断了您正在执行的指令码,Script Debugger会自动启动,显示出
.asp档案,透过指标反白指出错误所在的行数,并产生一个错误讯息。使用这类侦错工具时,您的电脑不会再继续执行程式,您必须使用编辑器改正错误并储存修改後,才能继续执行这个指令码。图1-2显示了一个程式码,其中Script
Debugger会反白显示错误的那一行。</font></p>
<p><br style="line-height: 25px">
</p>
<center style="line-height: 25px">
<p>
<input id="2" onclick="imgclick" type="image" src="f01dd02.gif" border="0" style="line-height: 25px" width="724" height="484"></p>
</center><center style="line-height: 25px">
<table border="0" style="line-height: 25px">
<tbody style="line-height: 25px">
<tr style="line-height: 25px">
<td align="middle" style="line-height: 25px">
<font face="arial" color="#000000" size="2" style="line-height: 25px">
图1-2 Microsoft Script Debugger</font></td>
</tr>
</table>
</center>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">索引服务(Indexing Service)<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
索引服务能对磁碟里的档案和档案属性进行索引,并把资讯储存在一个目录里;另外还能对存在网际网路或企业内部网路网站上的文件进行搜寻。网站管理员利用索引服务附带的范例,便能快速建立Web查询表单供使用者使用,接着使用者填写查询表单以产生查询,Web伺服器再把查询表单传送给查询引擎,查询引擎继续寻找相关文件并把结果以网页的形式传回用户端。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
除了以HTML格式索引网页之外,索引服务还能搜寻Microsoft Word和 Microsoft
Excel等应用软体的档案格式,因此您不必把它们转换成HTML格式。</font></p>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">凭证服务(Certificate Services)<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
Microsoft凭证服务是一个多用途、自订化的伺服器应用软体,它可以发布、注销、或是更新数位凭证。这些由X.509标准格式所产生的凭证用在公开金钥加密应用软体中,如SSL下的伺服器和用户端验证或Private
Communication Technology(PCT)通讯协定。企业组织能透过凭证服务,在企业内部网路或网际网路上执行验证。</font></p>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">讯息伫列(Message Queuing)<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
讯息伫列使应用程式更快速、可靠、非同步地传送和接收讯息。它的功能包括支援Microsoft
ActiveX、安全性控制、管理工具,并与其他相关的Microsoft 功能整合在一起,如IIS 5.0的元件服务(Component
Services)和凭证服务(Certificate Services)等。因此,讯息伫列是在Microsoft Windows 95、Windows
98,以及Windows 2000 Server上执行之应用程式的共同产品。若是透过讯息伫列连线器,讯息伫列也可以和其他重要的平台和产品相互操作。</font></p>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
<b style="line-height: 25px">资料库存取元件(Database Access Component)<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
Microsoft资料库存取元件使用Microsoft ActiveX Data Objects(ADO)存取资料库或其他表格式资料结构中的资讯。在Web或是企业内部网路上,主从式架构下的应用程式可以使用这个元件来整合各种来自於不同位置的资讯,包括关联(SQL)和非关联的资料库管理系统(DBMS)。资料库存取元件包括下列:</font></p>
<font face="arial" color="#000000" size="2" style="line-height: 25px">
<ul style="line-height: 25px">
<li style="line-height: 25px">ADO和Microsoft Remote Data Service(RDS)<br style="line-height: 25px">
</li>
<li style="line-height: 25px">Open Database Connectivity(ODBC)<br style="line-height: 25px">
</li>
<li style="line-height: 25px">ODBC的Microsoft OLE DB提供者<br style="line-height: 25px">
</li>
</ul>
</font>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
ADO能帮您编写应用软体,并能透过OLE
DB提供者存取和处理资料库的资料。ADO的主要优点在於容易使用、速度快、消耗少量记忆体以及占用较少的硬碟空间,同时也能支援建立主从式架构的应用程式和Web应用程式。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">ADO还有RDS特性,这是一个高效能的用户端资料快取技术,使Web
应用程式可以连线到资料库。您能使用RDS建立Web应用软体,以便存取并更新来自任何OLE
DB提供者的资料,包括符合ODBC的资料库管理系统。您可以使用您所熟悉的技术来实作RDS,例如:现成的视觉化控制项、HTML和 Microsoft
Visual Basic Scripting Edition(VBScript),这是因为RDS整合了现有的 Microsoft Visual
Basic应用程式,让您能把它们直接传送到Web上。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
资料库存取元件也包括ODBC和OLE DB提供者。如果和一个适当的
ODBC驱动程式结合使用时,这些元件就可以让您能够存取几个目前比较普遍的资料库管理系统,包括Microsoft SQL
Server、Oracle、Microsoft Access和其他桌上型资料库。</font></p>
<p><font face="arial" color="#3e72d7" size="4" style="line-height: 25px">
<b style="line-height: 25px">管理结构<br style="line-height: 25px">
</b></font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">本节描述IIS
5.0如何简化管理工作,并提供您多种方式以灵活管理网站。为了达到这个目的,IIS
5.0提供了整套工具,让您管理Web伺服器及其元件,以及一个独立的网站。除了这些工具之外,使用者还能使用IIS 5.0附带的IIS管理物件(IIS
Administration Object)(将在下节详述)建立自己的自订介面。</font></p>
<p><font face="arial" color="#000000" size="2" style="line-height: 25px">
图1-3显示了IIS 5.0提供的管理工具以及它们如何与IIS管理物件互动。</font></p>
<p><br style="line-height: 25px">
</p>
<center style="line-height: 25px">
<p>
<input id="3" onclick="imgclick" type="image" src="f01dd03.gif" border="0" style="line-height: 25px" width="650" height="275"></p>
</center><center style="line-height: 25px">
<table border="0" style="line-height: 25px">
<tbody style="line-height: 25px">
<tr style="line-height: 25px">
<td align="middle" style="line-height: 25px">
<font face="arial" color="#000000" size="2" style="line-height: 25px">
图1-3 IIS 5.0的管理结构</font></td>
</tr>
</table>
</center>
<p><font face="arial" color="#3e74d7" size="3" style="line-height: 25px">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -