Navigation: Actions > Server > IIS > IIS Action IIS Tab |
|
This tab of the IIS Action action specifies the command to perform.
Object: The object to perform the command on.
Command: The command to perform.
Name/ID: The ID or name of the object to operate on (required for most commands).
Path: The path of the object (required for some commands).
Location: Specifies the level that configuration settings are written at. The configuration system is hierarchical, allowing configuration settings to be written at multiple levels ranging from the server-level applicationHost.config file to distributed web.config files that can be present at the site, application, or virtual directory levels. When the configuration is written at a particular level, it is inherited by all URLs at that level and lower. For example, configuration set in the web.config configuration file at the root of the site in inherited by all URLs of the site. By default, settings will be stored on the level at which it is being set. For example, if you are setting configuration for the "Default Web Site/", it will be written in a web.config file at the root of that site. However, it is possible to write configuration at a higher level, and only apply it to a particular subset of URLs below by using a location construct. For example, the application web.config can contain configuration that is applied to only a single directory within that application. AppCmd provides this capability through its commit parameter.
The Location can be set to one of the following:
• | (Blank): write configuration at the level for which it is set |
• | Site: write configuration in the web.config at the site root of the URL for which it is set |
• | Application: write configuration in the web.config at the app root of the URL for which it is set |
• | Server: write configuration at the server level, in the applicationHost.config file |
• | <PATH>: write configuration at the specified configuration path |