配置 Web 服务器
Web 服务器配置创建 Windchill,RFA Servlet 和 JSP 环境。首次构建 RFA 环境时,只需设置 web 服务器一次。
要配置 web 服务器,请执行以下操作︰
1. 复制配置文件。
a. 将 <Windchill>\codebase\rfa\install_templates\30-app-RFA-Auth.conf 文件复制到 <webserver>\conf\conf.d 文件夹。
b. 将 <Windchill>\codebase\rfa\install_templates\30-app-RFA-ErrorDocument.conf 文件复制到 <webserver>\conf\conf.d 文件夹。
c. 编辑 30-app-RFA-ErrorDocument.conf 文件并将 <Windchill> 的位置更改为 Windchill 安装目录。
d. 将 <Windchill> \codebase\rfa\install_templates\help\40-app-RFA-FHC.conf 文件复制到 <webserver>\conf\conf.d 文件夹。
复制后,编辑 40 app RFA FHC.conf 文件,以包含正确的 <Windchill> 位置。根据情况,编辑 JKMount 或 ProxyPass。有关详细信息,请参阅文件中的注解。
e. 编辑 <webserver>\conf\conf.d\*-app-Windchill-Auth.conf 文件并添加新的 LocationMatch 块,将现有条目用作模板。
<LocationMatch ^/+Windchill/+gwrfa(;.*)?>
<LocationMatch ^/+Windchill/+images(;.*)?>
<LocationMatch ^/+Windchill/+rfa(;.*)?>
2. 重启 Web 服务器。