14.4. Microsoft IIS 7 initial clustering configuration

Microsoft IIS 7 can be managed using the Management Console, or through the command prompt using the APPCMD.EXE command tool.

Terms

ISAPI and CGI Restrictions
ISAPI and CGI restrictions are request handlers that allow dynamic content to execute on a server. These restrictions are either CGI files (.exe) or ISAPI extensions (.dll). You can add custom ISAPI or CGI restrictions if the IIS configuration system allows this. [ Configuring ISAPI and CGI Restrictions in IIS 7 ] .

Task: Define a JBoss Native ISAPI Restriction

Complete this task to define an ISAPI Restriction using the management console.
  1. On the master server, open IIS Manager:
    • Start Run , then type inetmgr and hit Enter.
    • Start Control Panel Administrative Tools Internet Information Services (IIS) Manager
    The IIS 7 Manager window opens.
  2. In the tree view pane, select IIS 7 (referred to as Server Home).
    The IIS 7 Home Features View opens.
  3. Double-click ISAPI and CGI Restrictions.
    The ISAPI and CGI Restrictions Features View opens.
  4. In the Actions pane, click Add.
    The Add ISAPI or CGI Restriction window opens.
  5. Specify the following values in the Add ISAPI or CGI Restriction window:
    ISAPI or CGI Path:
    Specify NATIVE\sbin\isapi_redirect.dll .
    Description:
    Specify jboss (exactly as written).
    Allow extension path to execute
    Select the check box.
  6. Click OK to save the values, and close the Add ISAPI or CGI Restriction window.

    Note

    The ISAPI and CGI Restrictions Features View now displays the jboss restriction and path.

Task: Define a JBoss Native Virtual Directory

Complete this task to define a virtual directory for the JBoss Native binary using the management console.
  1. Right click on Default Web Site, and then click Add Virtual Directory .
    The Add Virtual Directory window opens
  2. Specify the following values in the Add Virtual Directory window:
    Alias:
    Specify jboss (exactly as written).
    Physical path:
    Specify NATIVE\sbin\ .
  3. Click OK to save the values and close the Add Virtual Directory window.

Task: Define a JBoss Native ISAPI Redirect Filter

Complete this task to define a JBoss Native ISAPI Redirect Filter using the management console.
  1. In the tree view pane, expand Sites Default Web Site .
  2. Double-click ISAPI Filters.
    The ISAPI Filters Features View opens.
  3. In the Actions pane, click Add.
    The Add ISAPI Filter window opens.
  4. Specify the following values in the Add ISAPI Filter window:
    Filter name:
    Specify jboss (exactly as written).
    Executable:
    Specify NATIVE\sbin\isapi_redirect.dll .
  5. Click OK to save the values and close the Add ISAPI Filters window.

Task: Enable the ISAPI-dll Handler

Complete this task to enable the ISAPI-dll handler using the management console.
  1. In the tree view pane, select IIS 7 (referred to as Server Home).
    The IIS 7 Home Features View opens.
  2. Double-click Handler Mappings.
    The Handler Mappings Features View opens.
  3. In the Group by drop down box, select State .
    The Handler Mappings are displayed in Enabled and Disabled groups.
  4. If ISAPI-dll is in the Disabled group, right mouse click and select Edit Feature Permissions .
  5. Ensure the Read, Script, and Execute check boxes are selected.
  6. Click OK to save the values and close the Edit Feature Permissions window.