Wednesday 10 November 2004 8:16:57 am
Hi,
I have a site with the following configuration:
MatchOrder=host
HostMatchMapItems[]=domain1.bg;domain1 HostMatchMapItems[]=domain2.bg;domain2 In the directories settings and design I have subdirs domain1 & domain2
I have created separate sections for the two sites (folders, children of the main node), I'm using separate classes from which I create objects in the two different sections, but still I'm able to access an object from the first site in the second one.
I adjusted the Anonymous role to READ the appropriate classes in the appropriate sections, but still nothing ....
An example is :
I have an object with Id 999 in the first section and everything is ok for : domain1.bg/content/view/full/999 - the proper template is loaded
But when I copy the 'content/view/full/999' part and request for domain2.bg/content/view/full/999 - I receive the standart template for that class...And I want to catch that event and display a No Rights or Sthg like that
Is it possible that to be prevented ? I thought of creating templates in the domain1 for the classes of the domain2 and vica versa, I wonder is there a better way ?
|