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.
Why and when to perform this task
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 plugins_install_root\bin 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 the host name 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 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_server_name 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_server_name directory.
- Click the iisWASPlugin_http.dll file.
- Click OK until all of the open windows close.
- Copy the plug-in binaries to the plugins_install_root \bin\IIS_Web_server_name 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.
- Set the value of the Plugin Config variable to the location
of the configuration file, which is the plugins_install_root \config\ webserver_name \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.
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, you can install applications
on it. See the Applications section of the information center for more information.