我有两个站点在一个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.com
) http://careers.domain.com/sitecore/content/home/destinations.aspx
(应为domain.com
下)。
我知道我可以重定向这些网址(使用IIS7重定向或ISAPIRewrite),但有什么办法'锁定'Sitecore只服务于该域配置的主节点下的项目?