multiple sites

Author Message

Jupp Schmitz

Tuesday 03 June 2003 7:35:03 am

I have a few questions on setting up multiple sites:

1. do I have to modify Apaches VirtualHost settings for each site?
<VirtualHost xxx.xxx.xxx.xxx>
.....
RewriteRule ...... /.. /ezpublish/index.php/site1
.....
</VirtualHost>

<VirtualHost xxx.xxx.xxx.xxx>
.....
RewriteRule ...... /.. /ezpublish/index.php/site2
.....
</VirtualHost>

2. Do I have an admin-page for all sites together? If yes, how do control in wich site my content appears?

Thanks for advice!

Karsten Jennissen

Tuesday 03 June 2003 9:35:25 am

1) You don't have to modify Apache settings for each site. Just create aliases for all the domains you want to use to be rewritten to ../index.php

The site access logic is controlled via ez publish .ini files. in /settings/siteaccess/site.ini find the section [SiteAccessSettings] and determine the mapping of domains/uris/ports to your logical sites.

2) If you want different content for your different sites, you should use one admin site for each and of course use separate databases.

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 30 2025 21:20:40
Script start
Timing: Jan 30 2025 21:20:40
Module start 'layout'
Timing: Jan 30 2025 21:20:40
Module start 'content'
Timing: Jan 30 2025 21:20:41
Module end 'content'
Timing: Jan 30 2025 21:20:41
Script end

Main resources:

Total runtime1.1979 sec
Peak memory usage8,192.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.0078151.1953
Module start 'layout' 0.00470.0046 739.2031220.6719
Module start 'content' 0.00941.1876 959.87504,198.4844
Module end 'content' 1.19690.0009 5,158.35947.8828
Script end 1.1979  5,166.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.3143160.0002
Check MTime0.00140.1146160.0001
Mysql Total
Database connection0.00050.045010.0005
Mysqli_queries1.121293.5957540.0208
Looping result0.00050.0430520.0000
Template Total1.149896.020.5749
Template load0.00240.203120.0012
Template processing1.147495.777620.5737
Template load and register function0.00120.096010.0012
states
state_id_array0.00160.137410.0016
state_identifier_array0.00230.189220.0011
Override
Cache load0.00190.1586210.0001
Sytem overhead
Fetch class attribute can translate value0.00220.181120.0011
Fetch class attribute name0.00190.156020.0009
XML
Image XML parsing0.00030.021220.0001
class_abstraction
Instantiating content class attribute0.00000.002920.0000
General
dbfile0.00110.0922100.0001
String conversion0.00000.001040.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs