Privacy policy. A virtual directory is a directory name also referred to as path that you specify in Internet Information Services IIS 7 and map to a physical directory on a local or remote server.
The virtual directory name becomes part of the application's URL, and users can request the URL from a browser to access content in the physical directory, such as a Web page or a list of additional directories and files. If you specify a different name than the physical directory for the virtual directory, it is more difficult for users to discover the actual physical file structure on your server because the URL does not map directly to the root of the site.
In IIS 7, each application must have a virtual directory, known as the root virtual directory, and maps the application to the physical directory that contains the application's content.
However, an application can have more than one virtual directory. For example, you might use a virtual directory when you want your application to include images from another location in the file system, but you do not want to move the image files into the physical directory that is mapped to the application's root virtual directory. In the Connections pane, expand the server name, expand Sites , expand the Web site to which you want to add the virtual directory, and then click the application to which you want to add the virtual directory.
In the Add Virtual Directory dialog box, at a minimum enter information in the Alias: and Physical path: text boxes, and then click OK. You can click Connect as The path attribute defines the path for the application. The first defines the root virtual directory for the application, and the second defines an Images virtual directory for the application. When you create an application from the command prompt or from a script, you must explicitly create a root virtual directory for the application.
You must be sure to set the commit parameter to apphost when you use AppCmd. This commits the configuration settings to the appropriate location section in the ApplicationHost. Skip to main content.
Specify whether you want to record visits to this Web site in a log file. Visits are recorded only if logging is enabled for this Web site. Specify whether you want to allow Microsoft Indexing Service to include this directory in a full-text index of your Web site. Application Settings. The following settings are available in the Application Settings area for a Web site in the Internet Information Services view.
To associate the selected Web site with an application pool, select its name in the list. As an alternative, you can click the ellipsis button This setting applies to IIS 6 and later. Earlier versions of IIS ignore this setting.
Important: The application pool that you specify should be on the target system at run time or part of your installation; otherwise, the server may generate an error such as error This opens the Application Mappings dialog box , which enables you to add, edit, and delete a mapping between a file name extension and the application that processes those files.
This opens the MIME Types dialog box , which enables you to add, edit, and delete a mapping between a file name extension and the corresponding content type that is served as a static file by the Web server on the target system to a browser or mail client. Specify the number of minutes that a session can remain idle before the server terminates it automatically.
If the end user does not refresh or request a page within the timeout period, the session ends. The default value is 20 minutes. Specify the length of time in seconds that. The minimum value for this property is 1 second; the default value is 90 seconds. When you select a Web site in the Internet Information Services view, InstallShield displays several security-related settings in the Security area.
The Security area lets you configure your Web server to verify the identify of users. You can authenticate users to prevent unauthorized ones from establishing a Web HTTP connection to restricted content. For more information, refer to the IIS documentation. Specify whether you want to allow users to establish an anonymous connection. If you do want to allow anonymous connections, also enter the appropriate Windows user account information.
If you do not need the Web server to confirm the identity of end users before they can access the content, select No for this setting. Specify whether you want to automatically synchronize your anonymous password settings with those set in Windows on the target system. If the password that you type for the anonymous account differs from the password that Windows has, anonymous authentication will not work. Note: Password synchronization should be used only with anonymous user accounts defined on the local computer, not with anonymous accounts on remote computers.
If you are enabling anonymous connections, type the name of the anonymous account. The password is used only within Windows. Anonymous users do not log on by using a user name and password.
Specify whether you want to enable the basic authentication method for collecting user name and password information for end users who access the Web site. Important: With the basic method of authentication, user names and passwords are not encrypted when they are transmitted across the network. An unscrupulous end user who has network monitoring tools could intercept user names and passwords. Specify whether you want to enable integrated Windows authentication. Integrated Windows authentication uses a cryptographic exchange with the end user's browser to confirm the identity of the user.
When integrated Windows authentication is enabled, the Web site will use it only under the following conditions:. To specify a server certificate that should be installed on the target system, click the ellipsis button As an alternative, you can select a certificate from the list if your project already contains one or more certificates. InstallShield stores the. If the certificate that you specified has a password, enter it in this setting. The following settings are available in the Advanced area for a Web site in the Internet Information Services view.
To customize HTTP errors that are sent to clients when Web server errors occur, select the ellipsis button The Custom Errors dialog box opens, enabling you to specify the page that should be displayed for one or more HTTP errors. Administrators can use generic HTTP 1. To specify values for IIS settings that are not displayed in the other areas in this view, select the ellipsis button The advanced settings apply to IIS 6 and earlier.
IIS 7 ignores these settings. See Also. Internet Information Services View. Specify the length of time in seconds that. The minimum value for this property is 1 second and the default value is 90 seconds. Specify what level of program execution is allowed for the selected application or virtual directory.
Available options are:. This setting applies to IIS 5 and earlier. Later versions ignore this setting. When you select an application or a virtual directory in the Internet Information Services view, InstallShield displays several security-related settings in the Security area. The Security area lets you configure your application or virtual directory to verify the identify of users. You can authenticate users to prevent unauthorized ones from establishing a Web HTTP connection to restricted content.
For more information, refer to the IIS documentation. Specify whether you want to allow users to establish an anonymous connection. If you do want to allow anonymous connections, also enter the appropriate Windows user account information.
If you do not need the Web server to confirm the identity of end users before they can access the content, select No for this setting. Specify whether you want to automatically synchronize your anonymous password settings with those set in Windows on the target system.
If the password that you type for the anonymous account differs from the password that Windows has, anonymous authentication will not work. If you are enabling anonymous connections, type the name of the anonymous account. The password is used only within Windows. Anonymous users do not log on by using a user name and password. Specify whether you want to enable the basic authentication method for collecting user name and password information for end users who access the application or virtual directory.
An unscrupulous end user who has network monitoring tools could intercept user names and passwords. Specify whether you want to enable integrated Windows authentication. Integrated Windows authentication uses a cryptographic exchange with the end user's browser to confirm the identity of the user.
When integrated Windows authentication is enabled, the Web site will use it only under the following conditions:. The following settings are available in the Advanced area for an application or a virtual directory in the Internet Information Services view.
To customize HTTP errors that are sent to clients when Web server errors occur, select the ellipsis button The Custom Errors dialog box opens, enabling you to specify the page that should be displayed for one or more HTTP errors.
Administrators can use generic HTTP 1. See Also. Internet Information Services View. Managing Internet Information Services. Open topic with navigation. Virtual Directory. Enter a name for the application or virtual directory. NET Version. Default Documents. If the content for the application or virtual directory is on the target system, click the ellipsis button
0コメント