Locking down multiple sites in Sitecore
Posted
by adam
on Stack Overflow
See other posts from Stack Overflow
or by adam
Published on 2010-05-25T08:33:31Z
Indexed on
2010/05/25
22:11 UTC
Read the original article
Hit count: 263
Hi
I have two sites running under one Sitecore 6 installation. The home nodes of the sites are as such:
/sitecore/content/Home
/sitecore/content/Careers
Assuming the primary site is at domain.com
, the careers site can be accessed at careers.domain.com
.
My problem is that, by prefixing the uri with /sitecore/content/
, any sitecore item can be accessed by either (sub)domain. For example, I can get to:
http://domain.com/sitecore/content/careers.aspx
(should be under careers.domain.com
)
http://careers.domain.com/sitecore/content/home/destinations.aspx
(should be under domain.com
).
I know I can redirect these urls (using IIS7 Redirects or ISAPIRewrite) but is there any way to 'lock' Sitecore down to only serve items under the configured home node for that domain?
Thanks, Adam
© Stack Overflow or respective owner