Technical data

12 Installing and Configuring the Microsoft Internet Information Server (ISAPI) Plug-In
12-6 Administration Guide
10. Configure proxying by path. In addition to proxying by file type, you can
configure the Microsoft Internet Information Server Plug-In to serve files based
on their
path by specifying some additional parameters in the iisproxy.ini
file. Proxying by path takes precedence over proxying by MIME type.
You can also proxy multiple websites defined in IIS by path. For more
information, see “Proxying Multiple Virtual Websites from IIS” on page 12-7.
To configure proxying by path:
a. Place the
iisforward.dll file in the same directory as the iisproxy.dll file
and add the
iisforward.dll file as a filter service in IIS (WebSite Properties
ISAPI Filters tab Add the iisforward dll).
b. Register
.wlforward as a special file type to be handled by iisproxy.dll.
c. Define the property
WlForwardPath in iisproxy.ini. WlForwardPath
defines the path that is proxied to WebLogic Server, for example:
WlForwardPath=/weblogic.
d. Set the PathTrim parameter to trim off the WlForwardPath when necessary.
For example, using
WlForwardPath=/weblogic
PathTrim=/weblogic
trims a request from IIS to Weblogic Server. Therefore,
/weblogic/session is changed to /session.
e. If you want requests that do not contain extra path information (in other words,
requests containing only a host name), set the
DefaultFileName parameter to
the name of the welcome page of the Web Application to which the request is
being proxied. The value of this parameter is appended to the URL.
f. If you need to debug your application, set the
Debug=ON parameter in
iisproxy.ini. A c:\tmp\iisforward.log is generated containing a log of
the plug-in’s activity that you can use for debugging purposes.
11. If you want to enable HTTP tunneling (optional), follow the instructions for
proxying by path (see step 10 above), substituting the WebLogic Server host
name and the WebLogic Server port number, or the name of a WebLogic Cluster
that you wish to handle HTTP tunneling requests.
WlForwardPath=*/HTTPClnt*
You do not need to use the PathTrim parameter.