[CR #569866 and CR #551790] To use the IIS 7.0 Web server redirector plug-in on Windows 2008, perform the following configuration steps:
Installing and configuring the IIS redirector plug-in
Your EAServer installation includes files that implement the IIS Web server plug-in; you must copy these files to the IIS host machine.
Create the location on the Web server host for the plug-in files, for example:
<plugin_location> c:\winnt\system32\inetsrv\iisplugin
<dll_location> plugin_location\dll
Install the appropriate libraries into the dll_location directory. See “Installing libraries from EAServer to your Web server” section in the EAServer Installation Guide for Windows.
Add the dll_location directory to the system path.
Create a text file called iis_redirector.cfg in the plugin_location and copy the following lines into the file. This becomes the starting point for your redirector configuration file:
Connector.IIS.Extension_URI /sybase/libjeas_iis.dll Connector.IIS.URLS /myWebApp Connector.IIS.LogFile c:\winnt\system32\inetsrv\iisplugin\redirector.log Connector.LogLevel error Connector.WebApp /myWebApp =http://myJaguarMachine:8000
Create the WSPLUGIN_CONFIG_FILE system environment variable and set its value to the iis_redirector.cfg configuration file created in the previous step. To do this, open the System Properties dialog box, create the WSPLUGIN_CONFIG_FILE variable, and set it to the full path of the configuration file:
WSPLUGIN_CONFIG_FILE c:\winnt\system32\inetsrv\iisplugin\iis_redirector.cfg
Install the IIS plug-in into IIS – your “IIS Plugin” includes the libjeas_iis.dll file that implements the IIS Web server plug-in:
Open the IIS Administrative Tool.
On Windows, select Control Panel | Administrative Tools | Internet Service Manager.
Alternately, you can select Control Panel | Administrative Tools | Computer Management | Services and Applications | Internet Information Services.
Configure the ISAPI filter:
Highlight the Web site where you want to install the plug-in., right-click, and select Properties.
On the ISAPI Filters tab, click Add, and install libjeas_iis.dll as an ISAPI filter. Filters are invoked in the listed order, so if you install more than one filter, libjeas_iis.dll should be first in the list.
Filter Name: Sybase Executable: C:\WINNT\system32\inetsrv\iisplugin\dll\libjeas_iis.dll
Click OK.
Create and configure the virtual directory that corresponds to the location of the libjeas_iis.dll directory:
Highlight the Web site where you installed libjeas_iis.dll, right-click, and select New | Virtual Directory.
Specify the alias:
Alias: Sybase
Specify the directory:
Directory: C:\WINNT\system32\inetsrv\iisplugin\dll
Specify the permissions:
Enable read, run scripts, and execute permissions on the virtual directory.
Enable ISAPI-dll in Handler Mapping
Highlight the Web site where you installed libjeas_iis.dll and select Handler Mapping.
Select ISAPI-dll handler, click the Edit Feature Permissions, and select the Execute Permission option.
Configure ISAPI and CGI Restrictions.
Select the hostname node and select ISAPI and CGI Restrictions.
Right-click and select Add ISAPI and CGI Restriction ISAPI and CGI path:
C:\WINNT\system32\inetsrv\iisplugin\dll\libjeas_iis.dll
Description: Sybase Inc
Enable the Allow extension path to execute option.
Edit the configuration file for your specific environment and system. Using a text editor, open the configuration file, plugin_location\iis_redirector.cfg.
Configure static information. These settings are generic to your redirector and do not change as you add or modify Web applications.
Set the Extension_URI to the DLL under the virtual directory:
Connector.IIS.Extension_URI /sybase/libjeas_iis.dll
Set Connector.IIS.LogFile:
Connector.IIS.LogFile C:\WINNT\system32\inetsrv\iisplugin\redirector.log
Set Connector.LogLevel:
Connector.LogLevel error
Configure Web application-specific information, which is dependent on the Web applications you are redirecting, and changes as you add or modify Web applications.
Set Connector.IIS.URLS to a comma-separated list of your Web applications:
Connector.IIS.URLS /myWebApp1, /myWebApp2
Set Connector.WebApp, which maps each redirected Web application to an EAServer instance:
Connector.WebApp /myWebApp1=http://eas1:8000 Connector.WebApp /myWebApp2=http://eas2:8000
Reboot the Web server machine for the environment changes to take effect.
Test the redirector with a browser—enter the IIS URL followed by the Web application path. For example, if your settings are:
IIS URL: http://myIIS Web Application Context: /myWebApp1 Web Application page: login.jsp
You should be able to reach login.jsp with:
http://myIIS/myWebApp1/login.jsp
On Windows Vista or on Windows 2008 server 64 bi-system, select Enable32bitAppOnWin64=true in IIS7 application pool.