Forums / Install & configuration / Multiple hosts on one installation

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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