Multiple hosts on one installation

Author Message

Felix Laate

Monday 13 January 2003 2:11:05 am

Hi there..

I want to have the following:

-many sites (with uniqe hosts) working on one ezPublish installation.

i.e I want to have:

admin.socrates.vgs.no
www.socrates.vgs.no
admin.platon.vgs.no
www.platon.vgs.no

and so on..

How do I set it up?
Should the directories in /settings/siteaccess be named www.platon.vgs.no etc.?
What shouyld then be the settings og site.ini.php?

Or, do I have to have one installation pr host..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Bård Farstad

Monday 13 January 2003 4:39:01 am

> i.e I want to have:
>
> admin.socrates.vgs.no
> www.socrates.vgs.no
> admin.platon.vgs.no
> www.platon.vgs.no
>
> and so on..
>
> How do I set it up?
> Should the directories in /settings/siteaccess be named
> www.platon.vgs.no etc.?
> What shouyld then be the settings og site.ini.php?
>
> Or, do I have to have one installation pr host..
You can set up siteaccess to:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+\..+)\.vgs\.no$
HostMatchSubtextPost=\.vgs\.no

Then you just create the siteaccess files for each site you want to host. E.g.

settings/siteaccess/admin.socrates/site.ini.append
settings/siteaccess/www.socrates/site.ini.append

--bård

Documentation: http://ez.no/doc

Felix Laate

Tuesday 14 January 2003 6:13:27 am

Hi again!

> [SiteAccessSettings]
> MatchOrder=host
> HostMatchRegexp=^(.+\..+)\.vgs\.no$
> HostMatchSubtextPost=\.vgs\.no
>
> Then you just create the siteaccess files for each site you
> want to host. E.g.
>
> settings/siteaccess/admin.socrates/site.ini.append
> settings/siteaccess/www.socrates/site.ini.append

I've tried these settings, but it seems that the site.ini.append files aren't taken into account. I get a kernel 50 error (no database). The site.ini.append files are not found it seems..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

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 18 2025 10:41:57
Script start
Timing: Jan 18 2025 10:41:57
Module start 'layout'
Timing: Jan 18 2025 10:41:57
Module start 'content'
Timing: Jan 18 2025 10:41:57
Module end 'content'
Timing: Jan 18 2025 10:41:57
Script end

Main resources:

Total runtime0.0184 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0074 588.0391152.6406
Module start 'layout' 0.00740.0032 740.679739.4766
Module start 'content' 0.01060.0057 780.156393.3672
Module end 'content' 0.01630.0021 873.523434.3047
Script end 0.0184  907.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003117.0672140.0002
Check MTime0.00147.7001140.0001
Mysql Total
Database connection0.00137.295610.0013
Mysqli_queries0.002916.006830.0010
Looping result0.00000.076510.0000
Template Total0.00179.110.0017
Template load0.00094.953210.0009
Template processing0.00084.093710.0008
Override
Cache load0.00063.414510.0006
General
dbfile0.00031.755280.0000
String conversion0.00000.042840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs