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.
- 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. - In the tree view pane, select IIS 7 (referred to as Server Home).The IIS 7 Home Features View opens.
- Double-click ISAPI and CGI Restrictions.The ISAPI and CGI Restrictions Features View opens.
- In the Actions pane, click Add.The Add ISAPI or CGI Restriction window opens.
- 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
- Allow extension path to execute
- Select the check box.
- 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 thejboss
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.
- Right click on Default Web Site, and then click Add Virtual Directory .The Add Virtual Directory window opens
- Specify the following values in the Add Virtual Directory window:
- Alias:
- Specify
jboss
(exactly as written). - Physical path:
- Specify
NATIVE\sbin\
- 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.
- In the tree view pane, expand Sites → Default Web Site .
- Double-click ISAPI Filters.The ISAPI Filters Features View opens.
- In the Actions pane, click Add.The Add ISAPI Filter window opens.
- Specify the following values in the Add ISAPI Filter window:
- Filter name:
- Specify
jboss
(exactly as written). - Executable:
- Specify
NATIVE\sbin\isapi_redirect.dll
- 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.
- In the tree view pane, select IIS 7 (referred to as Server Home).The IIS 7 Home Features View opens.
- Double-click Handler Mappings.The Handler Mappings Features View opens.
- In the Group by drop down box, select State .The Handler Mappings are displayed in Enabled and Disabled groups.
- If
ISAPI-dll
is in the Disabled group, right mouse click and select Edit Feature Permissions . - Ensure the Read, Script, and Execute check boxes are selected.
- Click OK to save the values and close the Edit Feature Permissions window.