2010-05-25 58 views
3

我有两个站点在一个Sitecore 6安装下运行。网站的主页节点是这样:锁定Sitecore中的多个站点

/sitecore/content/Home 
/sitecore/content/Careers 

假设主站点是在domain.com,职业生涯网站可以在careers.domain.com访问。

我的问题是,通过与/sitecore/content/前缀的URI,任何Sitecore的项目可以通过任一(子)域访问。例如,我可以得到:

http://domain.com/sitecore/content/careers.aspx(应该是下careers.domain.comhttp://careers.domain.com/sitecore/content/home/destinations.aspx(应为domain.com下)。

我知道我可以重定向这些网址(使用IIS7重定向或ISAPIRewrite),但有什么办法'锁定'Sitecore只服务于该域配置的主节点下的项目?

回答

3

我不能肯定地说,没有测试,但你可以尝试把每个站点它自己的安全域,并拒绝访问对方。在<sites/>节点中有domain="extranet"属性,创建一个新的安全域并将职业网站设置为使用它。

您可以使用域管理器在桌面Sitecore的新安全域。