0

我有一个名称为 Sharepoint 2013 的农场

dev22,我用这个 url 创建了一个网站集http://dev22/test/site1

我在 TMG 上添加了一条规则,将 url 重定向http://dev22/test/site1https://mydomaine/test/site1

但问题是我得到 /ScriptResource.axd?d= 和 /WebResource.axd 的错误 404?因为他在我的根域上搜索资源

https://mydomaine.com/ScriptResource.axd?d= 而不是 https://mydomaine.com/test/site1/ScriptResource.axd?d=

请问有什么帮助吗?

4

2 回答 2

0

Seems like you have link translation on. You can configure a rule to replace part of the url.

  • go to your firewall policies.
  • right click on the firewall policy.
  • click properties.
  • navigate to the link translation tab.
  • click on configure

enter image description here

  • Then you should see this dialog

TMG rule configuration window

  • click add
  • you will want to replace '/ScriptResource.axd' with '/test/site1/ScriptResource.axd'
于 2013-10-31T17:15:15.087 回答
0

谢谢你的回答,但如果我在防火墙上添加这个规则,我会在根网站上得到同样的错误。

因为我在http://mydomain.com/ 和其他 SPfarm 上有一个 SPFarmhttp://dev22/test/site1

我已经使用防火墙https://mydomain.com/test/site1重定向到 dev22 sitecollection

于 2013-11-04T10:31:12.720 回答