IRIS文件扩展名注意:请勿使用“添加通配符脚本映射”实用程序来执行此文件扩展名映射过程;它给出了一个错误。相反,请使用名为 Add Module Mapping for * 的实用程序。
将文件类型映射到 Web Gateway 本机模块,如下所示:
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 | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
这些映射不提供对 REST 的支持;如果想使用 REST,请参阅映射其他文件类型。
Internet 信息服务 (IIS) 管理器窗口。[MACHINE_NAME] ([machine_name]\[user_name])
Web Sites
Default Web Site
注意:这会激活整个网站的 CSP。要将 CSP 的使用限制为特定虚拟子目录(例如 /csp/),请在创建映射之前将控制重点放在相应的子目录(在“默认网站”下)上。对要提供 CSP 内容的每个虚拟子目录重复此过程。
Request Path: *.csp
Module: (select CSPms from the dropdown)
Name: WebGateway_csp
Request Path: *.cls
Module: (select CSPms from the list)
Name: WebGateway_cls
Request Path: *.zen
Module: (select CSPms from the list)
Name: WebGateway_zen
Request Path: *.cxw
Module: (select CSPms from the list)
Name: WebGatewayManagement
要将 Web 服务器配置为向 Web Gateway 发送其他文件类型,请添加与其他文件扩展名的默认配置条目类似的配置条目。例如:
| Extension | Native Module | Binary |
|---|---|---|
| *.xxx | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
如果需要通过 Web 网关提供其他静态文件,请添加所需文件类型的映射,以便可以加载这些文件。特别是,如果您需要通过此 Web 服务器访问管理门户,请添加文件类型 .jpg、.gif、.png、.css 和 .js 的映射。如果您不这样做,管理门户将丢失其图像、JavaScript 和样式表。
要将 Web 服务器配置为发送给定路径的所有请求,请为该路径设置以下通配符条目:
| Extension | Native Module | Binary |
|---|---|---|
* | CSPms | C:\Inetpub\CSPGateway\CSPms.dll |
重要提示:如果想使用 REST,则必须使用此映射。
Web 网关要访问 Web Gateway 的系统管理套件,请将浏览器指向以下位置:
http://<ip_address>/csp/bin/Systems/Module.cxw
如果您看到未经授权的用户错误消息,请参阅 Web Gateway 和安全中的安全说明。