Configure Microsoft Internet Information Services (IIS)
This topic describes manual configuration settings for Internet Information Services (IIS).
Before you begin
When you install the Web server plug-ins for WebSphere Application Server, as described in Installing Web server plug-ins, the Plug-ins installation wizard configures the Web server. This topic describes how to configure the Internet Information Services (IIS) Web server. Other procedures in Editing Web server configuration files describe configuring other supported Web servers.
You must have read/write access to the plugins_install_root directory to perform this task.
Overview
Use the following procedure to manually reproduce how the Installation wizard configures the Microsoft Internet Information Services Web server.
Steps for this task (dependent on configuration)
- Configure IIS V5.0.
- Start the IIS application and create a new virtual directory for the Web site instance that you intend to work with WebSphere Application Server. These instructions assume that you are using the Default Web Site.
- Expand the tree on the left until you see Default Web Site. Right-click Default Web Site, then click New > Virtual Directory to create the directory with a default installation.
- Type sePlugins in the Alias to be used to Access Virtual Directory field.
- Browse to the WAS install_root\bin directory in the Enter the physical path of the directory containing the content you want to publish field.
- Select the Allow Execute Access check box in the What access permissions do you want to set for this directory field.
- Click Finish to add the sePlugins virtual directory to your default Web site.
- Add the Internet Services Application Programming Interface (ISAPI) filter into the IIS configuration.
- Right-click the host name in the tree on the left and click Properties.
In the Properties dialog, perform the following steps:
- Click the Internet Information Services tab.
- Click WWW Service in the Master properties window.
- Click Edit to open the WWW Service master properties window.
- Click ISAPI Filters > Add to open the Filter properties window.
- Type iisWASPlugin in the Filter Name field.
- Click Browse in the Executable field.
- Browse to the Plugins_install_root\bin directory.
- Click the iisWASPlugin_http.dll file.
- Click OK until all the open windows close.
- Configure IIS V6.0.
- Start the IIS application and create a new virtual directory for the Web site instance that you intend to work with WebSphere Application Server. These instructions assume that you are using the Default Web Site.
- Expand the tree on the left until you see Default Web Site. Right-click Default Web Site, then click New > Virtual Directory to create the directory with a default installation.
- Type sePlugins in the Alias to be used to Access Virtual Directory field.
- Browse to the plugins_install_root \bin\IIS_ Web_servername directory in the Enter the physical path of the directory containing the content you want to publish field.
- Select the appropriate Execute check box (such as ISAPI applications or CGI) in the What access permissions do you want to set for this directory field.
- Click Next to add the sePlugins virtual directory to your default Web site.
- Click Finish.
- Right-click Default Web Site in the tree on the left and click Properties.
Add the Internet Services Application Programming Interface (ISAPI) filter into the IIS configuration.
In the Properties panel, perform the following steps:
- Click the ISAPI Filters tab.
- Click Add to open the Filter properties window.
- Type iisWASPlugin in the Filter Name field.
- Click Browse in the Executable field.
- Browse to the plugins_install_root \bin\IIS_ Web_servername directory.
- Click the iisWASPlugin_http.dll file.
- Click OK until all the open windows close.
- If necessary, copy the plug-in binaries to the plugins_install_root \bin\IIS_ Web_servername directory.
The plugin-cfg.loc file resides in this directory. The first line of the plugin-cfg.loc file is the location of the plugin-cfg.xml file.
- If necessary, set the value of the Plugin Config variable to the location of the configuration file, which is the plugins_install_root \config\ webservername \plugin-cfg.xml directory.
The location varies, depending on how you have configured your system. If the Web server and the Application Server are on separate machines, you have a remote installation.
If the two servers are on the same machine, you have a local installation.
If the two servers are on the same machine and the Application Server is a managed node, you 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 stand-alone example:
"C:\IBM\WebSphere\AppServer\profiles\default\config\cells\ sa_cell\nodes\webserver1_node\servers\webserver1\plugin-cfg.xml"Remote example:
"C:\IBM\WebSphere\Plugins\config\webserver1\plugin-cfg.xml"- Configure the Web server to run WebSphere Application Server extensions:
- Expand the tree on the left until you see Web service extensions.
- Click Web service extensions.
- Click All Unknown ISAPI extensions on the right side of the page.
- Click Allow.
- Optional: Configure multiple Web sites. Given:
- There are two Web sites defined: website1, website2.
- The Dll files are already created as bin/website1/iisWASPlugin_http.dll and bin/website2/iisWebsite2/iisWASPlugin_http.dll.
- The plugin-cfg.loc files are created in the same folder as the DLL file.
- Run IIS in worker process isolation mode (default). To enable worker process in isolation mode:
- Open the IIS management console and expand the local computer by clicking the plus sign.
- Right-click the Web Sites folder, click Properties, and then click the Service tab.
- Under Isolation mode, clear the Run Web service in IIS 5.0 isolation mode check box to enable worker process isolation mode.
- Define two application pools; one for website1 and the other for website2. Do not use the pre-defined application pool DefaultAppPool.
- Define the two Websites, including the filter setting, virtual host setting, and extension settings.
- Assign an application pool for each website.
- Under each Web site folder, right click on the Web site name.
- Click Property, and select the Home Directory tab. 2.
- At the bottom of the application settings, select the application pool you defined for website1 from the drop-down list of application pools.
- Click OK.
- Repeat the previous steps for the second Web site and select the application pool you defined for website2.
- Start the IIS service and start each Web site.
Result
This procedure results in reconfiguring the Internet Information Services (IIS) Web server.
What to do next
After configuring a Web server, one can install applications on it. See the Applications section of the information center for more information.