Share » Forums » Install & configuration » multi-site configuration

multi-site configuration

multi-site configuration

Tuesday 13 June 2006 3:54:59 am - 1 reply

Author Message

Matthew Carroll

Sunday 18 June 2006 3:15:20 pm

1. It's as if you were doing a manual installation: http://ez.no/doc/ez_publish/technical_manual/3_8/installation/manual_installation/manual_configuration_of_ez_publish

2. You have the right idea. You need to separate out three things: the design, var, and siteaccess files. For example:

design/site1/...
design/site2/...

var/site1/...
var/site2/...

settings/siteaccess/site1_user/...
settings/siteaccess/site1_admin/...
settings/siteaccess/site2_user/...
settings/siteaccess/site2_admin/...

...with all the corresponding settings to reference those directories in your site.ini.append.php files

Notes:

- If you are already using the main /var directory for your first site, it should still work fine using var/site2 for your second site

- depending on how many sites you are setting up it can be worth sym-linking out those directories to another location for each site, to facilitate easier upgrades.

- in the site.ini.append.php, it's a good idea to set this array for each siteaccess:

AvailableSiteAccessList[]
AvailableSiteAccessList[]=site1_user
AvailableSiteAccessList[]=site1_admin

...that means other siteaccesses don't appear in, for example, the debug settings dropdown in your admin site.

Good luck, and remember to back everything up first just in case!
Matthew

http://carroll.org.uk

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

36 542 Users on board!

Forums menu