NoIndex Property  
 

Determine if the server should search for a default index page.

Syntax

object.NoIndex [= { True | False } ]

Remarks

The NoIndex property determines if the server should should search for a default index file if the client requests a resource that maps to a local directory on the server. If this property is set to True, the server will not search for an index file. If this property is set to False, the server will search for a file named index.htm, index.html, default.htm, default.html or index.txt in the directory. If a file by one of those names is found, it will return the contents of that file rather than a list of files in the directory.

Attempting to change the value of this property after the server has started will cause an exception to be raised. To change this property value, you must first call the Stop method which will terminate all active client connections.

The default value for this property is False.

Data Type

Boolean

See Also

HiddenFiles Property, ReadOnly Property, Restricted Property, Start Method