224 lines
7.2 KiB
HTML
224 lines
7.2 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>DirBrowseFlags</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">
|
|
|
|
<H3><A NAME="_k2_dirbrowseflags"></A><SUP></SUP>DirBrowseFlags</H3>
|
|
|
|
<P>This property contains flags that control whether directory browsing is enabled, how much directory and file information is provided if browsing is enabled, and whether there is a default page in the directory.</P>
|
|
|
|
<P><span class=le><B>Note</B></span> If a client accesses the directory and does not provide a file name, and the <A HREF="/iishelp/iis/htm/asp/apro7x9f.htm"><B>EnableDefaultDoc</B></A> flag is set to TRUE, the server will look for the file specified in the property <A HREF="/iishelp/iis/htm/asp/apro7ag3.htm"><B>DefaultDoc</B></A>. If the default file does not exist in the directory, and the <A HREF="/iishelp/iis/htm/asp/apro13on.htm"><B>EnableDirBrowsing</B></A> flag is set to TRUE, then directory browsing is enabled.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Data type</TD>
|
|
<TD width=50%>Long</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Default value</TD>
|
|
<TD width=50%>1073741886</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Inheritance</TD>
|
|
<TD width=50%>Inheritable</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<P>This property contains the following directory browsing flags: </P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro9q79.htm"><B>DirBrowseShowDate</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro0bhh.htm"><B>DirBrowseShowTime</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro6vxq.htm"><B>DirBrowseShowExtension</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro7x9f.htm"><B>EnableDefaultDoc</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro9of9.htm"><B>DirBrowseShowLongDate</B></A></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro13on.htm"><B>EnableDirBrowsing</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/apro4put.htm"><B>DirBrowseShowSize</B></A></TD>
|
|
<TD width=50%> </TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Access Locations</H6>
|
|
|
|
<P>This property is accessible at the following locations:</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=50%><B>Metabase Path</B></TD>
|
|
<TD class=blue width=50%><B>Key Type</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC</TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1p5x.htm"><B>IIsWebService</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore7zn6.htm"><B>IIsWebServer</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT</TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore8v5e.htm"><B>IIsWebVirtualDir</B></A></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>/LM/W3SVC/<I>N</I>/ROOT/<I>WebVirtualDir</I>/<I>WebDirectory</I></TD>
|
|
<TD width=50%><A HREF="/iishelp/iis/htm/asp/aore1jw9.htm"><B>IIsWebDirectory</B></A></TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>IIS Admin Base Object Information</H6>
|
|
|
|
<P>The following tables list additional information required only for code that uses the IIS Admin Base Object.</P>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Metabase identifier</TD>
|
|
<TD width=50%><B>MD_DIRECTORY_BROWSING</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>User type</TD>
|
|
<TD width=50%><B>IIS_MD_UT_FILE</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Default bitmask setting</TD>
|
|
<TD width=50%><B>MD_DIRBROW_SHOW_DATE</B>
|
|
<P><B>MD_DIRBROW_SHOW_TIME</B></P>
|
|
|
|
<P><B>MD_DIRBROW_SHOW_SIZE</B></P>
|
|
|
|
<P><B>MD_DIRBROW_SHOW_EXTENSION</B></P>
|
|
|
|
<P><B>MD_DIRBROW_LOADDEFAULT</B></P>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%>Default bitmask value</TD>
|
|
<TD width=50%>0x4000001E</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Bitmask Values</H6>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=3 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD class=blue width=50%><B>Constant</B></TD>
|
|
<TD class=blue width=18%><B>Value</B></TD>
|
|
<TD class=blue width=32%><B>Description</B></TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_SHOW_DATE</B></TD>
|
|
<TD width=18%>0x00000002</TD>
|
|
<TD width=32%>Show date.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_SHOW_TIME</B></TD>
|
|
<TD width=18%>0x00000004</TD>
|
|
<TD width=32%>Show time.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_SHOW_SIZE</B></TD>
|
|
<TD width=18%>0x00000008</TD>
|
|
<TD width=32%>Show file size.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_SHOW_EXTENSION</B></TD>
|
|
<TD width=18%>0x00000010</TD>
|
|
<TD width=32%>Show file name extension.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_LONG_DATE</B></TD>
|
|
<TD width=18%>0x00000020</TD>
|
|
<TD width=32%>Show full date.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_LOADDEFAULT</B></TD>
|
|
<TD width=18%>0x40000000</TD>
|
|
<TD width=32%>Load default page, if it exists.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=50%><B>MD_DIRBROW_ENABLED</B></TD>
|
|
<TD width=18%>0x80000000</TD>
|
|
<TD width=32%>Enable directory browsing.</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
<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>
|