Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
For more information about the directoryBrowse element, see the following topic on the Microsoft IIS.net Web site: Directory Browse <directoryBrowse>.
Configures whether directory browsing is enabled or disabled on the Web server, and specifies the information to include in a directory listing.
Syntax
Attributes and Elements
The following sections describe attributes, child elements, and parent elements for this section.
Attributes
Attribute |
Description |
||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
enabled |
Optional Boolean attribute. Specifies whether directory browsing is enabled (true) or disabled (false) on the Web server. The default value is false. |
||||||||||||||
showFlags |
Optional flags attribute. The showFlags attribute can have one or more of the following possible values. If you specify more than one value, separate the values with a comma (,). The default values are Date, Time, Size, Extension.
|
Child Elements
None.
Parent Elements
Element |
Description |
---|---|
configuration |
Specifies the root element in every configuration file that is used by IIS 7. |
system.webServer |
Specifies the root element in ApplicationHost.config that is the top-level section group in which this element is defined. |
Remarks
For more information about the directoryBrowse element, see the following topic on the Microsoft IIS.net Web site: Directory Browse <directoryBrowse>.
Default Configuration
The following default <directoryBrowse> element is configured in the root ApplicationHost.config file in IIS 7 when the Directory Browsing role service is installed.
<directoryBrowse enabled="false" />
Element Information
Configuration locations |
Machine.config ApplicationHost.config Root level Web.config Application level Web.config Virtual or physical directory level Web.config |
Requirements |
Microsoft Internet Information Services (IIS) version 7.0 |