简体   繁体   English

TFS2010中IIS7.5 + Sharepoint Services中的URL问题

[英]Problem with URL in IIS7.5 + Sharepoint Services in TFS2010

my question is kinda simple but i just don't know how to get it. 我的问题有点简单,但我只是不知道如何获得它。

I have this dedicated server at home, used almost just for Team Foundation Server, I did the single server configuration wizard so I have Sharepoint Services running along with SQL Server and IIS 7.5, the problem is that every single link and URL on the sharepoint sites are generated from the local Computer name, which is TFS. 我在家中有这台专用服务器,几乎只用于Team Foundation Server,我做了单服务器配置向导,所以我使Sharepoint Services与SQL Server和IIS 7.5一起运行,问题是共享点站点上的每个链接和URL是从本地计算机名称TFS生成的。

I have a domain (example.com) and a subdomain pointing to my home Static Ip address, the router properly configurated and so on, and if you hit tfs.example.com you get the Sharepoint home page, but any link are generated as i said, example, http://tfs/Lists/Announcements/AllItems.aspx . 我有一个域(example.com)和一个指向我的家庭静态IP地址,正确配置路由器的子域,依此类推,如果您点击tfs.example.com,您将获得Sharepoint主页,但任何链接都将生成为我说的是http://tfs/Lists/Announcements/AllItems.aspx

I want to know if there's any way to fix this. 我想知道是否有任何方法可以解决此问题。 What I've done before is to go to all the clients PC and set a windows host rule, so any request to say, TFS, it gets to my IP, but I want to avoid this, and set something on the server to change all that routes. 我之前所做的是转到所有客户端PC并设置Windows主机规则,因此,任何要求说TFS的请求都将到达我的IP,但我想避免这种情况,并在服务器上进行设置以进行更改所有的路线。 Anything like URL rewrite or something. 诸如URL重写之类的东西。 There's no domain, and all the clients connects trough Internet. 没有域,所有客户端都通过Internet连接。

Thanks in advance 提前致谢

You need to setup the Alternate Access Mappings (AAM) correctly. 您需要正确设置备用访问映射(AAM)。

Specifically - tfs.example.com needs to be the default AAM. 具体来说-tfs.example.com必须是默认的 AAM。

  • For SharePoint 2007 对于SharePoint 2007

    SharePoint Central Administration > Operations > Alternate Access Mappings > Edit Public URL's SharePoint管理中心>操作>备用访问映射>编辑公共URL

  • For SharePoint 2010 对于SharePoint 2010

    SharePoint Central Administration > System Settings > Configure alternate access mappings -> Edit Public URL's SharePoint管理中心>系统设置>配置备用访问映射->编辑公共URL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM