此内容没有您所选择的语言版本。
12.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. [http://technet.microsoft.com/en-us/library/cc730912(WS.10).aspx].
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:
, then type inetmgr.
The IIS 7 Manager window opens. - In the tree view pane, select (referred to as Server Home).The IIS 7 Home Features View opens in the
- Double-click ISAPI and CGI Restrictions.The ISAPI and CGI Restrictions Features View opens.
- In the Actions pane, click .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
c:\connectors\jboss-ep-5.1\native\sbin\isapi_redirect.dll - Description:
- Specify
(exactly as written).jboss - Allow extension path to execute
- Select the check box.
- Click to save the values, and close the Add ISAPI or CGI Restriction window.
Note
The ISAPI and CGI Restrictions Features View now displays thejbossrestriction and path.
Task: Define an 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 .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
C:\connectors\jboss-ep-5.1\native\sbin\
- Click 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
. - Double-click ISAPI Filters.The ISAPI Filters Features View opens.
- In the Actions pane, click .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
C:\connectors\jboss-ep-5.1\native\sbin\isapi_redirect.dll
- Click 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 (referred to as Server Home).The IIS 7 Home Features View opens in the
- Double-click Handler Mappings.The Handler Mappings Features View opens.
- In the Group by drop down box, select .The Handler Mappings are displayed in Enabled and Disabled groups.
- If
ISAPI-dllis in the Disabled group, right mouse click and select - Ensure the , , and check boxes are selected.
- Click to save the values and close the Edit Feature Permissions window.