Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet Software

echinoidqueenΔιακομιστές

4 Δεκ 2013 (πριν από 3 χρόνια και 8 μήνες)

531 εμφανίσεις






















































Configuring Internet
Information Services (IIS) 7.0
for SAS/IntrNet
®
Software

TS-794
i
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
Table of Contents
Introduction .................................................................................................................... 1

Configuring Internet Information Services .................................................................. 1

Ensuring that you have installed IIS 7.0 Web Server ................................................ 1

Accessing IIS 7.0 Web Server ................................................................................... 2

Creating the virtual directory in which to store CGI tools .......................................... 3

Setting ISAPI and GCI restrictions in IIS Manager .................................................... 4

Setting handler mappings .......................................................................................... 4

Testing the SAS broker to ensure that it is executable ............................................. 6






































































1
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
Introduction
Successful configuration of Internet Information Services (IIS) 7.0 for SAS/IntrNet software requires that you complete a
series of tasks, which include the following:
• verifying that certain software is installed on your system
• creating folders or directories
• adjusting software settings
• performing software tests
This document provides you with a roadmap of all such required tasks, and instructions regarding how to perform them.
Configuring Internet Information Services
The configuration of Internet Information Services 7.0 (IIS 7.0) for SAS/IntrNet software includes the following steps:
1. Ensure that you have installed IIS 7.0 Web Server.
2. Access IIS7.0 Web Server.
3. Create the virtual directory where you will store the CGI tools.
4. Set ISAPI and GCI restrictions in IIS Manager.
5. Set handler mappings.
6. Test the SAS broker to ensure that it is executable.
Ensuring that you have installed IIS 7.0 Web Server
1. Open your Web browser.
2. Type
http://localhost
in your browser’s Address bar to activate the IIS7 display.
The presence of the IIS7 display confirms that the IIS 7.0 Web Server software is installed. If you do not see this
display, refer to your Microsoft documentation for IIS 7.0 Web Server or contact your Information Technology
Manager, because system restrictions might prevent you from installing the software.


2
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software

Display 1: IIS7 welcome window
Accessing IIS 7.0 Web Server
1. Select
Start ► Settings ► Control Panel ► Programs ► Programs and Features
to
activate the Windows Features display.
The Windows Features display populates after a few seconds. In this display, you must ensure that certain Windows
features are turned on.
Display 2: Windows Features
3
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
2. Expand the
Internet Information Services
folder hierarchy
3. Select all the check boxes in the
Web Management Tools
and
World Wide Web Services
folder
hierarchies.
4. Click
OK
.
Creating the virtual directory in which to store CGI tools
CGI tools, such as
broker.exe
and
broker.cfg,
are typically stored in the same directory. After you create
this directory, at a minimum, copy the
broker.exe
and
broker.cfg
files into the folder.
1. Select
Start ► Settings ► Control Panel ► System and Maintenance ►
Administrative Tools
.
2. Double-click
Internet Information Services (IIS) Manager
to activate the Connections frame at
left.
3. Expand the
Your Server Name
and
Web Sites
folder hierarchies.
4. Highlight
Default Website
.
5. Right-click
Add Virtual Directory
to activate the Add Virtual Directory dialog box.

Display 3: Add Virtual Directories
6. Type the appropriate entry into the
Alias
field. In the preceding example, the user-specified value for alias is
scripts.
7. Type the appropriate entry into the
Physical path
field. In the preceding example, the user-specified value for
physical path is c:\inetpub\scripts.
8. Click
OK
.

4
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
Setting ISAPI and GCI restrictions in IIS Manager
1. Start Internet Information Services (IIS) Manager if it is not running already.
2. Select the appropriate server name in the Connections list.
3. Under the IIS Features frame, select
ISAPI and CGI Restrictions
.
4. Click the
Add
button at right to activate the Add ISAPI or CGI Restriction display.

Display 4: Add ISAPI or CGI Restriction
5. Type the appropriate path in the ISAPI or CGI path Field, in accordance with your entry in the Physical Path field on
the Add Virtual Directory display.
6. Select the
Allow extension path to execute
.
7. Click
OK
.
Setting handler mappings
1. Click the virtual directory that you created earlier in this procedure. The directory appears in the
Default Web
Site
field in the
Connections
frame at left.
2. Double-click
Handler Mappings
.
5
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
3. Double-click
CGI
-exe

to activate the Edit Module Mapping dialog box.

Display 5: Edit Module Mapping
4. Type
*.exe
into the
Request path
field.
5. Click
OK
to return to the Internet Information Services (IIS) Manager display.

Display 6: Internet Information Services [IIS] Manager
6. Ensure that the name
CGI.exe
appears as Enabled in the
Handler Mappings
panel at center.
7. Click and highlight
CGI.exe
in the
Handler Mappings
panel at center.
8. In the
Actions
panel at right, click
Edit Handler Permissions
to activate the Edit Handler Permissions
dialog box.

6
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software

Display 7: Edit Handler Permissions dialog box
9. In the Edit Handler Permissions dialog box, ensure that you click the Read, Script, and Execute check boxes.
10. Click
OK
.
Testing the SAS broker to ensure that it is executable
1. Open your Web browser.
2. Type
http://YourServer/Virtual_Directory/broker.exe
in your browser’s Address bar to
activate the Application Dispatcher display.
The Application Dispatcher should have an appearance similar to the following example:









7
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software

Display 8: Application Dispatcher
3. In the following circumstances, you might have to repeat the instructions in the “Set handler mappings” section
above.
a. Repeat the instructions if a dialog appears asking you to download or save the broker.
b. Repeat the instructions if the appearance of the display is similar to the example below.

Display 9: Windows Internet Explorer display


8
Configuring Internet Information Services (IIS) 7.0 for SAS/IntrNet
®
Software
c. If the following error message appears, repeat the instructions in the Set ISAPI and GCI restrictions in the
“Setting ISAPI and GCI restrictions in IIS Manager” section above.
Server Error in Application "Default Web Site"
HTTP Error 404.2 - Not Found



























































SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA
and other countries. ® indicates USA registration. Other brand and product names are trademarks of their respective companies.
Copyright © 2008 SAS Institute Inc., Cary, NC, USA. All rights reserved.