注意:请勿使用“添加通配符脚本映射”实用程序来执行此文件扩展名映射过程;它给出了一个错误。相反,请使用名为 Add Module Mapping for * 的实用程序。
选择以下配置方法之一:
IRIS 的所有内容(包括静态内容)。将 * 映射到 ``Web 网关。如果要配置 Web 应用程序以便 IRIS 服务器提供所有静态文件,请参阅映射其他文件类型。Web 服务器提供静态内容。仅将文件类型映射到 Web Gateway。
如果您从 Web 服务器提供静态文件,请将文件类型映射到 Web 网关模块,如下所示:
| Extension | Native Module | Binary |
|---|---|---|
| *.csp | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
| *.cls | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
| *.zen | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
| *.cxw | C:\Inetpub\CSPGateway\nph-CSPcgiSys.exe |
Internet 信息服务 (IIS) 管理器窗口。[MACHINE_NAME] ([machine_name]\[user_name])
Web Sites
Default Web Site
注意:这会激活整个网站的 CSP。要将 CSP 的使用限制为特定虚拟子目录(例如 /csp/),请在创建映射之前将控制重点放在相应的子目录(在“默认网站”下)上。对要提供 CSP 内容的每个虚拟子目录重复此过程。
Request Path: *.csp
Module: Select CSPcms
Name: WebGateway_csp
Request Path: *.cls
Module: Select CSPcms
Name: WebGateway_cls
或
Request Path: *.zen
Module: Select CSPcms
Name: WebGateway_zen
[MACHINE_NAME] ([machine_name]\[user_name])
Web Sites
Default Web Site
Request Path: *.cxw
Executable: C:\Inetpub\CSPGateway\nph-CSPcgiSys.exe
Name: WebGatewayManagement
ISAPI 扩展吗?如果是,我们会将扩展添加为 ISAPI 和 CGI 限制列表中的“允许”条目。如果延期已经存在,我们会允许。”[MACHINE_NAME] ([machine_name]\[user_name])
在中心面板中,双击 ISAPI 和 CGI 限制图标。
如果 Web Gateway Management CGI 模块未包含在允许的应用程序列表中,请将其添加。
可以在“说明”字段中添加自己选择的文本。例如:
WebGatewayManagement for nph-CSPcgiSys.exe
Web 网关此连接选项取决于 Web Gateway 的网络服务守护程序 (NSD)。
按照启动 NSD 部分中的说明启动 CSP NSD。
要访问 Web Gateway 的系统管理套件,请将浏览器指向以下位置之一:
http://<ip_address>/csp/bin/Systems/Module.cxw
http://<ip_address>/csp-bin/nph-CSPcgiSys