在基于 Windows 的系统中配置缩略图位置
如果系统基于 Windows,请按以下步骤操作︰
1. 打开 custom.lcs.properties 并添加以下信息︰
com.lcs.wc.content.imagefilePathOverride=\\\\hostname
\\imagesShare
com.lcs.wc.content.imageURL=/RFAImages
2. 通过添加以下信息修改 app-RFA-Auth.conf 文件。
#RewriteEngine on
#RewriteRule ^/Windchill/images(.+)
http://hostname/RFAImages/$1 [R]
### Rewrite rule is only needed if existing images are already in the system.
This ensures references to Windchill/images get redirect to new location
Alias /RFAImages "//hostname/imagesShare"
<Directory "//hostname/imagesShare">
Order allow,deny
Allow from all
</Directory>
<LocationMatch ^/RFAImages(;.*)?>
AuthzLDAPAuthoritative off
AuthName "Windchill"
Options -Indexes
AuthType Basic
AuthBasicProvider Windchill-EnterpriseLdap Windchill-AdministrativeLdap
require valid-user
</LocationMatch>
3. 确保无需身份验证即可访问共享位置。如果需要身份验证,请添加 Windchill 作为一项服务并更改该服务以便作为可访问共享位置的用户进行登录。还必须针对不属于出厂安装的自定义位置匹配设置 AuthBasicProvider。AuthBasicProvider 的内容必须与 app-Windchill-Auth.conf 中的 AuthBasicProvider 值相匹配。
4. 对于群集,请确保所有节点都指向一个特定的共享。请参阅
代理配置示例 中的“图像别名示例”部分。