Provides default values for the following props if they haven't been set previously:
service_name
The name this agent uses to register with Service Manager. If virtual_hosts is enabled in the WebServer, this name specifies the domain that this agent will handle requests for, for instance localhost/ or www.myserver.com/.
HTTPFileServerAgent
html_directory
The path to the directory where HTML files are served from.
./
default_index
The default files (separated by commas) served when no filename is specified in the HTTP request.
index.html
allow_directory_lists
If this is set to true, this agent will display links to all files in a directory when a web request specifies a directory instead of a file.
false
dont_index_list
This is the list of files that shouldn't appear in directory index listings, can use '*' to denote a wildcard. This property is not used if the allow_directory_lists property is set to false.
Not set by default
alpha_sort_index
If set to true, directory lists will be sorted in alphanumerical order.
true
aspnet_config_file
The path to an XML file containing ASP.NET configuration and debugging information. Defaults to web.config.
web.config
file_buffer_size
The size of the buffer to read and write static files to the Socket connected to the client.
5120
virtual_directories_config
The config file that defines virtual directories. This is a text file with alternating lines of physdir:[physical path] and virtpath:[virtual path], where the [physical path] can be a fully qualified pathname to an existing physical directory or a relative path and the [virtual path] is a URI path starting with the / character that is to be mapped to the physical directory. The virtpath: MUST follow a physdir:.
virtdirs
restricted_directories
A set of directory names that will be denied access if they appear in the URI path. They are separated by commas and must not include any / path separators.
If this property is set to true, attempted accesses to restricted directories will return a 404 Not Found instead of the default 403 Forbidden. Set this to true if you want the added protection of less information disclosure of making access to a restricted directory appear as if the directory isn't there at all.