Forums / Install & configuration / Using eZpublish for multiple sites?

Using eZpublish for multiple sites?

Author Message

Doug Dalton

Tuesday 21 September 2004 2:19:07 pm

Can I use ezpublish for multiple websites? if so how?

Doug Dalton

Tuesday 21 September 2004 2:57:49 pm

After reading the multiple site configuration, it is still unclear to me how I can have one site www.test.com and www.test2.com run by the same ezpublish, I am running apache 1.3 php 4.3.8 and I have virtual hosting on, I just cant figure out where to point my web server nor how to add an additional site to ezpublish

any help would be greatly appreciated, or a pointer to a howto

Doug Dalton

Tuesday 21 September 2004 4:11:33 pm

After Reading :
http://ez.no/community/forum/install_configuration/idiot_s_guide_to_multiple_sites_on_single_install_please
I have one virtual site up but I cannot figure out how to add another?

Doug Dalton

Tuesday 21 September 2004 7:47:19 pm

There should be a step by step how to add another site, with the docs I have gotten as far as:
init the db (from the manual install)
setup the override site.ini.append.php
and copying and editing respective siteaccess files

but that does not tell you that in the default mysql the login in admin, password is publish and you will still get Object not found when logging in, nothing tells you what object is missing, I will continue this thread as I find out, if anyone else uses this for multiple sites and can help out I would appreciate it

Brant Summerlin

Monday 08 November 2004 1:50:02 pm

Is it possible to install one instance of ezpublish outside of the site root directory and symlink the directories that do NOT change? Like putting the /design, /settings, and /var directories in the htdocs/ folder and then symlinks for the other directories that are the core of the system.

I've done this with another cms with no problems. I'm interested in switching to ezpublish. Has anyone used this method for multiple sites on the same server?

I've searched the site but found no mention of this method.

- Nevermind: I think I got it...

Konrad Mazurkiewicz

Monday 08 November 2004 4:13:52 pm

Hi,
set up correctly dns for sites and check site.ini.override.php "MatchOrder"

example:

[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]=www.firstsite.net;firstsite
HostMatchMapItems[]=admin.firstsite.net;firstsite_admin
HostMatchMapItems[]=www.secondsite.net;secondsite
HostMatchMapItems[]=admin.secondsite.net;secondsite_admin

Konrad

eZ debug

Timing: Jan 19 2025 12:37:37
Script start
Timing: Jan 19 2025 12:37:37
Module start 'content'
Timing: Jan 19 2025 12:37:38
Module end 'content'
Timing: Jan 19 2025 12:37:38
Script end

Main resources:

Total runtime1.2505 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 589.0781180.8203
Module start 'content' 0.00681.1137 769.8984541.4531
Module end 'content' 1.12050.1299 1,311.3516337.7891
Script end 1.2504  1,649.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3096210.0002
Check MTime0.00150.1183210.0001
Mysql Total
Database connection0.00080.062510.0008
Mysqli_queries1.180694.41382050.0058
Looping result0.00180.14712030.0000
Template Total1.221897.720.6109
Template load0.00190.154420.0010
Template processing1.219997.555120.6099
Template load and register function0.00020.018710.0002
states
state_id_array0.00110.087510.0011
state_identifier_array0.00070.055720.0003
Override
Cache load0.00160.1295350.0000
Sytem overhead
Fetch class attribute can translate value0.00140.113540.0004
Fetch class attribute name0.00110.086060.0002
XML
Image XML parsing0.00060.049540.0002
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00600.4793210.0003
String conversion0.00000.000630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 5

Time used to render debug report: 0.0005 secs