Kbase 16091: How to set up the .wsc file with CGIIP on IIS?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Verified
GOAL:
How to set up the .wsc file with CGIIP on IIS?
GOAL:
How to set up .wsc file with CGIIP mapping on Microsoft IIS?
GOAL:
How to configure the cgiip.wsc messenger on IIS?
FACT(s) (Environment):
WebSpeed
Windows NT 32 Intel/Windows 2000
IIS 3.0
IIS 4.0
IIS 5.0
FIX:
There are two formats that are supported by mapping with the .wsc file. Format 1 & 2. By mapping the .wsc file, you will now reference the cgiip.wsc file instead of cgiip.exe within the WebSpeed URL.
Format 1, allows the messenger to talk directly to the WS Broker.
In cgiip.wsc, specify broker host and port.
Format 2, allows the WS broker to registry with the Controlling NameServer.
In cgiip.wsc, specify the -i parameter with broker service registered with name server .
FOR IIS 3.0:
To configure the additional script mapping for the .wsc files, you must edit the information in the Windows NT Registry with the following steps:
1) Start REGEDT32.EXE and open:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\
Parameters\Script Map
2) Choose Add Value from the Edit menu.
3) Choose the data type REG_SZ.
4) Type the filename extension used for the scripts (.wsc).
5) In the String editor, type the following:
C:\WSRT\BIN\CGIIP.EXE %s %s
NOTE: If defaults not accepted at install, be sure to
substitute your drive letter and/or pathname to the
cgiip.exe. You still must include the %s %s.
6) Restart the WebSite
FOR IIS 4 & 5:
1) Open the Internet Service Manager
2) Start the Web Server if it is not already running
3) Select the "SCRIPTS" virtual directory
4) Right click and select the "Properties" from the drop down
menu
5) In the "Virtual Directory" tab select the "Configuration"
button
a) In the "App Mappings" tab select the "Add" button
b) In the "Add/Edit Application Extension Mapping" pop-up
window enter the following and select "OK":
Executable = [install-dir]/bin/cgiip.exe %s %s
where: [install-dir] is the directory where you installed
Extension = .wsc
Note: For IIS 6/Windows2003, enter following
Executable = "[install-dir]/bin/cgiip.exe" %s %s
It will warn you with following message if the path to cgiip.exe is not quoted
"Entries containing spaces need quotes around the file/path portion".
c) In the "App Mappings" tab, select the "APPLY" button
and then select "OK".
6). Select the website, right click, properties
7) Select Home Directory tab, click on configuration button
8) Click on Add button if .wsc association is not added
note: For IIS/windows2000, quote path to cgiip.exe.
9) Restart the WebSite