64 lines
4.4 KiB
HTML
64 lines
4.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
|
|
<TITLE>Key Names and Paths</TITLE>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!--
|
|
TempString = navigator.appVersion
|
|
if (navigator.appName == "Microsoft Internet Explorer"){
|
|
// Check to see if browser is Microsoft
|
|
if (TempString.indexOf ("4.") >= 0){
|
|
// Check to see if it is IE 4
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else {
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
}
|
|
}
|
|
else if (navigator.appName == "Netscape") {
|
|
// Check to see if browser is Netscape
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
//-->
|
|
</script>
|
|
<SCRIPT LANGUAGE="VBScript">
|
|
<!--
|
|
Sub Window_OnLoad()
|
|
Dim frmContents
|
|
On Error Resume Next
|
|
If Not Parent Is Nothing Then
|
|
Set frmContents = Parent.Contents
|
|
If Not frmContents Is Nothing Then
|
|
frmContents.Window.TOCSynch_Click
|
|
End If
|
|
End If
|
|
End Sub
|
|
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
|
|
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
|
|
<META NAME="MS.LOCALE" CONTENT="EN-US">
|
|
<META NAME="MS-IT-LOC" Content="Internet Information Services">
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
|
|
<H2><A NAME="_k2_key_names_and_paths"></A><SUP></SUP>Key Names and Paths</H2>
|
|
|
|
<P>A metabase key is a location in the metabase analogous to a directory in the file system. A metabase path is a sequence of keys separated by a forward slash (/) that uniquely identifies the location of a key in the metabase. Key names in the metabase are not unique unless qualified by their metabase paths, just as different files with the same name can exist in different directories.</P>
|
|
|
|
<P>You can use the path of a metabase key with the IIS Admin Objects to access the specific IIS Admin Object associated with that key. The IIS Admin Objects use the Active Directory Service Interfaces (ADSI) path, called the <B>ADsPath</B>, to refer to the object associated with a key. The path starts with IIS:// and then uses the term LocalHost, or a specific computer name, to refer to the <B>IIsComputer</B> object, which is associated with the highest key in the metabase. For more information about the IIS Admin Objects, see <A HREF="/iishelp/iis/htm/asp/aogu2wab.htm">Using IIS Admin Objects</A>.</P>
|
|
|
|
<P>The paths to objects associated with other metabase keys are an extension of the <B>ADsPath</B> to the computer key. For example, the <B>ADsPath</B> for the first Web site in your IIS installation would be IIS://LocalHost/W3SVC/1. You could also use the path IIS://<I>ComputerName</I>/W3SVC/1 to access the metabase on a different computer.</P>
|
|
|
|
<P>Each Web site is a server instance, and is referred to in the path by its number. For example, IIS://LocalHost/MSFTPSVC/3 represents the third FTP server instance, and IIS://<I>ComputerName</I>/W3SVC/4 represents the fourth Web server instance.</P>
|
|
|
|
<P>Each Web site has an associated root virtual directory. All other virtual directories and directories associated with a server instance are subordinate to this root virtual directory. The name of the root virtual directory is ROOT. IIS://LocalHost/MSFTPSVC/3/ROOT refers to the root virtual directory for the third FTP server on the local computer, and IIS://LocalHost/W3SVC/4/ROOT refers to the root virtual directory for the fourth Web server on the same computer.</P>
|
|
|
|
<P>You can establish the structure below the root virtual directory of a server instance by adding virtual directories, directories, and files. For FTP servers, metabase properties can be set to the virtual-directory level. For Web servers, you can set properties to the level of directories and files. For example, you could use the path IIS://LocalHost/W3SVC/2/ROOT/MyVdir1/Dir1/File1 to set file properties such as read, write, and execute permissions.</P>
|
|
<hr class="iis" size="1">
|
|
<p align="center"><em><a href="../../../common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
|
|
</BODY>
|
|
</HTML>
|