Microsoft Internet Information Services (IIS)


 

+

Search Tips   |   Advanced Search

 

Overview

Use the following procedure to manually reproduce how the Installation wizard configures the Microsoft Internet Information Services Web server.

You must have read/write access to PLUGINS_ROOT to perform this task.

 

IIS V6.0

  1. Start the IIS application

    Programs | Administrative Tools | Internet Information Services (IIS) Manager

  2. Expand the tree on the left until you see Default Web Site.

    Default Web Site | New | Virtual Directory

  3. Type sePlugins in the Alias field in the Virtual Directory Alias panel of the Virtual Directory Creation Wizard, then click Next.

  4. Browse to...

    PLUGINS_ROOT\bin\IIS_web_server_name

    ...in the Path field of the Web Site Content Directory panel of the wizard, then click Next.

    For example, select...

    C:\IBM\WebSphere\Plugins\bin\IIS_webserver1

  5. Select the appropriate permission check boxes in the Virtual Directory Access Permissions panel of the wizard.

    Select the Read check box and the Execute (such as ISAPI applications or CGI) check box, for example.

  6. Click Next to add the sePlugins virtual directory to the default Web site.

  7. Click Finish when the success message displays.

  8. Copy the plug-in binaries to...

    C:\IBM\WebSphere\Plugins\bin\IIS_webserver1

    The plugin-cfg.loc file resides in this directory. The first line of the plugin-cfg.loc file identifies the location of plugin-cfg.xml.

  9. Expand the Web Sites folder in the left pane navigation tree of the IIS Manager panel.

  10. Right-click...

    Default Web Site | Properties

  11. In the Default Web Site Properties panel...

    1. Click the ISAPI Filters tab.

    2. Click Add to open the Add/Edit Filter Properties dialog window.

    3. Type iisWASPlugin in the Filter name field.

    4. Click Browse to select...

      C:\IBM\WebSphere\Plugins\bin\IIS_webserver1\iisWASPlugin_http.dll

      ...for the value of the Executable field.

      Browse to...

      PLUGINS_ROOT\bin\IIS_Web_server_name

      ...to select the iisWASPlugin_http.dll file.

    5. Click OK to close the Add/Edit Filter Properties dialog window.

    6. Click OK to close the Default Web Site Properties window.

  12. Set the value in the plugin-cfg.loc file to the location of the configuration file.

    Set the location to...

    PLUGINS_ROOT\config\webserver_name\plugin-cfg.xml...

    ...which might be...

    C:\IBM\WebSphere\Plugins\config\IIS_webserver1\plugin-cfg.xml

    The location varies depending on how we have configured the system. If the Web server and the appserver are on separate machines, we have a remote installation.

    If the two servers are on the same machine, we have a local installation.

    If the two servers are on the same machine and the appserver is federated, we have a local distributed installation.

    Local distributed example:

    "C:\IBM\WebSphere\AppServer\profiles\custom01\config\cells\dmgrcell\nodes\managed_node\servers\webserver1\plugin-cfg.xml"

    Example:

    "C:\IBM\WebSphere\Plugins\config\webserver1\plugin-cfg.xml"

  13. Configure the Web server to run WAS extensions:

    1. Expand the left pane navigation tree and click on the Web Service Extensions folder in the IIS Manager panel.

    2. Click Add a new Web service extension to open the New Web Service Extension dialog window.

    3. In the Extension name field, type WASPlugin as the name of the new Web service extension.

    4. Click Add to open the Add file dialog window.

    5. In the Path to file field, type the path or click Browse to navigate to the correct iisWASPlugin_http.dll file that the new Web service extension requires, and click OK.

    6. Select the Set extension status to Allowed check box to automatically set the status of the new Web service extension to Allowed and click OK.

 

IIS V7.0

  1. Install IIS V7.0 with the necessary IIS V 6.0 Management Compatibility components.

    IIS V 6.0 Management Compatibility components are not automatically installed by default. Complete the following steps to install IIS V7.0 with the necessary IIS V6.0 Management Compatibility components.

    • Complete the following steps to bring up the Server Manager window on Windows Server 2008:

      1. Go to...

        Start | Administrative Tools | Server Managers | Action | Add Roles | Next | Select Server Roles | role | Next

      2. If a prompt for the Windows Process Activation Service feature displays, click Add Feature > Next, and then click Next on the IIS introduction page

    • When the Role Services window displays, verify that the following options are selected in addition to the default options that are already selected.

      • Internet Information Services: Management Tools

      • IIS V6.0 Management Compatibility: IIS V6.0 Management Console, IIS V6.0 Scripting Tools, IIS V6.0 WMI Compatibility, and IIS Metabase compatibility

      • Application Development: ISAPI Extensions, ISAPI Filters

    • Click Next to enable the selected options, and then click Install on the next window to perform the installation.

    • When the installation finishes, click Close on the Installation Results window.

  2. Use the Windows Installer to install the Web server plug-ins.

    For an already installed Web server plug-in, go to the next step, and reconfigure IIS V7.0 to use that Web server plug-in.

    The Windows Installer is provided with WAS. Complete the following steps to install the Web server plug-ins:

    1. Right-click the install.exe shortcut in the plugin directory to start the Web server plug-in installer, and then select Run as Administrator. Alternatively, we can use the launchpad utility to install the Web server plug-ins if we login using the administrator account that is provided.

    2. Accept all of the settings on the security dialog, and system prerequisite checking pages that display.

    3. Select Microsoft Internet Information Services V6.0 as the Web server to configure.

    4. If necessary, configure a Web server definition as described in the plug-ins configuration.

  3. Reconfigure IIS V7.0 if the Web Server plug-in is already installed:

    The following steps are completed automatically during Web server plug-in installation. You only need to complete these steps are if we are reconfiguring IIS V7.0 to use an existing Web server plug-in.

    Complete the following steps to reconfigure IIS V7.0:

    1. Go to...

      Start | All Programs | Administrative Tools | Internet Information Services (IIS) Manager

      ...on a Windows Server 2008 operating system. This action starts the IIS application, and creates a new virtual directory for the Web site instance that you intend to use with WAS. These instructions assume that we are using the Default Web site.

    2. Expand the tree on the left until you see Default Web Site.

    3. Right-click...

      Default Web Site | Add Virtual Directory

    4. Type sePlugins in the Alias field on the Virtual Directory Alias window of the Virtual Directory Creation Wizard.

    5. Browse to...

      PLUGINS_ROOT\bin\IIS_Web_server_name

      ...in the Physical Path field of the Web Site Content Directory window of the wizard, and then click OK.

      For example, select...

      C:\IBM\WebSphere\Plugins\bin\IIS_webserver1

    6. Click the Test Settings button. If the settings test fails, then either change the permissions of the physical directory, or select Connect As, and let IIS connect as a Windows user account that has authority to files in that physical path.

    7. Click OK to add the sePlugins virtual directory to the default Web site.

    8. Manually copy the plug-in binaries to...

      PLUGINS_ROOT\bin\IIS_Web_server_name

      For example, copy the plug-in binary files to...

      C:\IBM\WebSphere\Plugins\bin\IIS_webserver1

      The plugin-cfg.loc file resides in this directory. The first line of the plugin-cfg.loc file identifies the location of plugin-cfg.xml.

    9. Return to the IIS Manager window, and expand the Web Sites folder in the left-hand navigation tree of that window.

    10. Select Default Web Sitein the navigation tree.

    11. Add the Internet Services Application Programming Interface (ISAPI) filter into the IIS configuration. On the Default Web Site Properties panel...

      1. Double-click the ISAPI Filters tab.

      2. Click to open the Add/Edit Filter Properties dialog window.

      3. Type iisWASPlugin in the Filter name field.

      4. Click Browse to select the plug-in file located in...

        PLUGINS_ROOT \bin\IIS_web_server_name\iisWASPlugin_http.dll

      5. Click OK to close the Add/Edit Filter Properties dialog window.

    12. Set the value in the plugin-cfg.loc file to the location of the configuration file at PLUGINS_ROOT \config\ webserver_name\plugin-cfg.xml. Following is the default location:

      C:\IBM\WebSphere\Plugins\config\IIS_webserver1\plugin-cfg.xml

      The location varies depending on how we have configured the system.

      If the Web server, and WAS are on separate machines, we have a remote installation. If the Web server, and WAS are on the same machine, then we have a local installation, and the correct location of the configuration file might be set. If the two servers are on the same machine, and the appserver is federated, we have a local distributed installation.

      Local distributed example:

      C:\IBM\WebSphere\AppServer\profiles\custom01\config\cells\dmgrcell\nodes\managed_node\servers\webserver1\plugin-cfg.xml

      Local example:

      C:\IBM\WebSphere\Plugins\config\webserver1\plugin-cfg.xml

    13. Restart IIS V7.0 and the WAS profile.

 

Enable IIS to communicate with a Web server plug-in running in 32–bit mode

The Web server plug-in for IIS is available in both 32-bit, and 64-bit versions. When using the 32-bit version plug-in on a Microsoft Windows 64-bit operating system, the following steps should be taken to enable the native 64-bit IIS to run the plug-in under a 32-bit worker process.

The Windows Server TechNet topic Running 32-bit Applications on 64-bit Windows describes how to enable the native 64-bit IIS V6.0 to run the Web server plug-in under a 32-bit worker process.

Complete the following steps to enable the native 64-bit IIS V7.0 to run the Web server plug-in under a 32-bit worker process:

  1. Launch the IIS V7.0 admin console.

  2. On the connections page, expand the Sites node, and select the Web site that is intended for the Web server plug-in.

  3. On the actions page, click Basic Settings, and make a note of the Application Pool name.

  4. Click Cancel , and then select the Application Pools node on the connections page.

  5. On the features page, right-click the application pool that you noted in the earlier step, and then choose Advanced Settings.

  6. Set the Enable 32-bit Applications property to True.

  7. Click OK to complete the configuration change.

  8. Restart the corresponding application pool.

 

Configure multiple Web sites

Given:

  1. Run IIS in worker process isolation mode (default).

    To enable worker process in isolation mode:

    1. Open the IIS Manager console and expand the local computer by clicking the plus sign.

    2. Expand the Web Sites folder, then right-click the Default Web Sites folder.

    3. Click Properties, then click the Service tab.

    4. Under Isolation mode, clear the Run Web service in IIS 5.0 isolation mode check box to enable worker process isolation mode.

  2. Define two application pools; one for website1 and the other for website2. Do not use the pre-defined application pool DefaultAppPool.

  3. Define the two Web sites, including the filter setting, virtual host setting, and extension settings.

  4. Assign an application pool for each Web site.

    1. Under each Web site folder, right click on the Web site name.

    2. Click Property, and select the Home Directory tab. 2.

    3. At the bottom of the application settings, select the application pool you defined for Web site 1 from the drop-down list of application pools.

    4. Click OK.

    5. Repeat the previous steps for the second Web site and select the application pool you defined for Web site 2.

  5. Start the IIS service and start each Web site.

On some editions of the Windows operating system, the http_plugin.log file is not created automatically when the plug-in is installed and the IIS Web server is started. If the http_plugin.log file is not created after performing the procedure described above, take the following steps:

  1. Open a Windows Explorer window.

  2. Browse to...

    PLUGINS_ROOT\logs\web_server_name

  3. Share the folder and give full-control permission to everyone.

 

Related tasks

Edit Web server configuration files