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.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 04:41:39
Script start
Timing: Jan 19 2025 04:41:39
Module start 'layout'
Timing: Jan 19 2025 04:41:39
Module start 'content'
Timing: Jan 19 2025 04:41:39
Module end 'content'
Timing: Jan 19 2025 04:41:39
Script end

Main resources:

Total runtime0.6344 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.4063152.6406
Module start 'layout' 0.00660.0029 743.046939.4766
Module start 'content' 0.00950.6234 782.5234497.9375
Module end 'content' 0.63290.0014 1,280.46098.1250
Script end 0.6343  1,288.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.5718160.0002
Check MTime0.00170.2727160.0001
Mysql Total
Database connection0.00080.127710.0008
Mysqli_queries0.591493.2263570.0104
Looping result0.00050.0802550.0000
Template Total0.607795.820.3039
Template load0.00210.331720.0011
Template processing0.605695.467720.3028
Template load and register function0.00020.024410.0002
states
state_id_array0.00070.116210.0007
state_identifier_array0.00060.102020.0003
Override
Cache load0.00170.2618230.0001
Sytem overhead
Fetch class attribute can translate value0.00060.090020.0003
Fetch class attribute name0.00140.216730.0005
XML
Image XML parsing0.00020.033620.0001
class_abstraction
Instantiating content class attribute0.00000.001630.0000
General
dbfile0.00060.1018100.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs