Forums / Developer / Not proper content in EZ host configuration

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Not proper content in EZ host configuration

Author Message

Liubomir Armoutliev

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 ?

Lazaro Ferreira

Wednesday 10 November 2004 10:47:30 am

Hi,

Do you want to restrict access to one siteaccess or section, so anonymous user can't read content there ?

Is that ?

Lazaro
http://www.mzbusiness.com

Liubomir Armoutliev

Thursday 11 November 2004 12:38:30 am

Hi,
I don't want the anonymous user to read the content from one section (which is mapped to one siteaccess) in the other siteaccess. But both the domains are public, I have third for the admin part.