安装和升级 > 安装和配置指南 > 使用 PTC 解决方案安装程序 > 安装 Windchill 解决方案 > 可选产品设置 > Windchill Business Reporting > Windchill Business Reporting 安装后说明 > 单独的 PTC HTTP Server 的反向代理配置 > 配置 Windchill
  
配置 Windchill
必须对以下位置的 Windchill 解决方案进行更改:
wt.properties 文件
wt.properties 修改为包含将 Windchill Business Reporting 作为受信任主机安装的计算机的地址:
wt.auth.trustedHosts=<machine_ip_addr> <serverhost>
其中 <machine_ip_addr><serverhost> 是安装 Windchill Business Reporting 的计算机的地址。在分布式安装方案中,这是安装 Windchill Business Reporting 主机组件的计算机。
在 HTTPSERVER_HOME/conf/conf.d 中,创建具有以下内容的文件 cognosreverseproxy.conf:
<IfModule !proxy_http_module>
LoadModule proxy_http_module modules/mod_proxy_http.so
</IfModule>
ProxyPass /Cognos <cognos_url>
ProxyPassReverse /Cognos <cognos_url
其中,<cognos_url> 是安装 Windchill Business Reporting 主机组件的计算机的完全限定 URL。例如:
http://server1.mycompany.com/Cognos
PTC HTTP Serveradditions.conf