To proxy requests from multiple websites (defined as virtual directories in IIS) to WebLogic Server:
Create a new directory for the virtual directories. This directory will contain
dll and ini files used to define the proxy.
Copy iisforward.dll to the directory you created in step1.
Register the iisforward.dll for each website with IIS.
Create a file called iisforward.ini. Place this file in the same directory that contains
iisforward.dll. This file should contain the following entry for each virtual website defined in IIS:
vhostN=websiteName:port
websiteName:port=dll_directory/iisproxy.ini
Where:
N is an integer representing the virtual website. The first virtual website you define should use the integer 1 and each subsequent website should increment this number by 1.
websiteName is the name of the virtual website as registered with IIS.
port is the port number where IIS listens for HTTP requests.
dll_directory is the path to the directory you created in step 1.
For example:
Create an iisproxy.ini file for the virtual eebsites, as described in
step 4 in Proxying Requests. Copy this iispoxy.ini file to the directory you created in step 1.
Copy iisproxy.dll to the directory you created in step 1.
In IIS, set the value for the Application Protection option to high (isolated). If the Application Protection option is set to Medium(pooled), the iisproxy.dll that registered as the first website will always be invoked. In this event,
all the requests will be proxied to the same WebLogic Server instances defined in the iisproxy.ini of the first website.
Sample iisproxy.ini File
Here is a sample iisproxy.ini file for use with a single, non-clustered WebLogic Server. Comment lines are denoted with the “#” character.
# This file contains initialization name/value pairs
# for the IIS/WebLogic plug-in.