This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Install & configuration » Multiple hosts on one installation
expandshrink

Multiple hosts on one installation

Multiple hosts on one installation

Monday 13 January 2003 11:11:05 am - 2 replies

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

Monday 13 January 2003 1:39:01 pm

> 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

Tuesday 14 January 2003 3:13:27 pm

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

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from