我正在尝试将 iWidget 添加到社区,修改 /local/con/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/config/cells/localhostCell01/LotusConnections-config/proxy-config.tpl 并添加了新的代理规则:
<proxy:policy url="http://questionmine.com/*" acf="none" basic-auth-support="true">
<proxy:actions>
<proxy:method>GET</proxy:method>
<proxy:method>POST</proxy:method>
<proxy:method>PUT</proxy:method>
<proxy:method>DELETE</proxy:method>
</proxy:actions>
<proxy:headers>
<proxy:header>User-Agent</proxy:header>
<proxy:header>Accept.*</proxy:header>
<proxy:header>Content.*</proxy:header>
<proxy:header>Authorization.*</proxy:header>
<proxy:header>If-.*</proxy:header>
<proxy:header>Pragma</proxy:header>
<proxy:header>Cache-Control</proxy:header>
<proxy:header>X-Update-Nonce</proxy:header>
</proxy:headers>
</proxy:policy>
但我仍然收到此错误:
Name: BMWIW0001E:Unable to load iWidget /communities/ajaxProxy/http/questionmine.com/app1/widgets/index/publishProject_iWidget.
Message: Unable to load /communities/ajaxProxy/http/questionmine.com/app1/widgets/index/publishProject_iWidget status:403
我在修改正确的文件吗?