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.