安装和升级 > 安装和配置 PTC FlexPLM > 新建 PTC FlexPLM 安装 > 针对非标准安装的其他配置 > 更改 PTC FlexPLM 上下文
  
更改 PTC FlexPLM 上下文
要将 PTC FlexPLM 上下文更改为 <Windchill>/rfa 以外的其他内容,请执行以下操作︰
1. 编辑 <webserver>/conf/conf.d/30-app-RFA-Auth.conf 文件并将 rfa 具体值更改为新的上下文名称。例如,将 rfa 更改为 devproductiontraining
2. <Windchill>/codebase 下面编辑或创建 custom.lcs.properties 文件。
a. <Windchill>/codebase 中,打开 lcs.properties
b. 搜索并找到 rfa URL 路径的所有具体值。
c. 将带 rfa URL 路径的每一行复制到 custom.lcs.properties 文件中。
d. 编辑 custom.lcs.properties 中的复制行,并将 rfa 更改为新上下文。
e. 保存变更并退出。
3. 重新启动 PTC HTTP Server,确认变更。
如果在安装过程中将 Windchill 上下文更改为 Windchill 以外的其他内容,如 WindchillBuild,则更改 app-RFA-Auth.conf 文件,使得 AuthBasicProviderapp-Windchill-Auth.conf 文件中的 Windchill 上下文匹配。