Thursday 03 August 2006 2:25:28 am
Hi everyone. I'm working on making my existing site into multiple sites and I've been trying to find tutorials and how-to's without luck. I've seen a few multisite posts in the forums but I haven't managed to get a clear picture of what to do.
So far I've taken the
/settings/siteaccess/<original_site>/*.* and /settings/siteaccess/<original_site_admin>/*.*
and copied them to
/settings/siteaccess/<newsite_site>/ and /settings/siteaccess/<newsite_site_admin/
same goes for
/design/<orignal_site>/*.* to /design/<new_site>/
Then I went on to configuring the settings.
I changed the /settings/siteaccess/<newsite_site/site.ini.append.php first and then I changed
/settings/override/site.ini.append.php into something like this: <b>override\site.ini.append.php</b>
...
[Session]
SessionNameHandler=custom
[SiteSettings]
DefaultAccess=intranet
SiteList[]
SiteList[]=intranet
SiteList[]=tellus-software
SiteName=Tellus Software - Intranet
MetaDataArray[author]=eZ systems
MetaDataArray[copyright]=eZ systems
MetaDataArray[description]=Content Management System
MetaDataArray[keywords]=cms, publish, e-commerce, content management, development framework
SiteURL=www.tellus-software.local
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=intranet
AvailableSiteAccessList[]=intranet_admin
AvailableSiteAccessList[]=tellus-software
AvailableSiteAccessList[]=tellus-software_admin
MatchOrder=uri
HostMatchMapItems[]
RelatedSiteAccessList[]
RelatedSiteAccessList[]=intranet
RelatedSiteAccessList[]=intranet_admin
RelatedSiteAccessList[]=tellus-software
RelatedSiteAccessList[]=tellus-software_admin
...
I'm really starting to get insecure about the configuration here because some posts on the forum has said to use:
[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]
AvailableSiteAccessList[]=site1
AvailableSiteAccessList[]=site2
AvailableSiteAccessList[]=siteadmin
MatchOrder=host
HostMatchMapItems[]=www.domain1.com;site1
HostMatchMapItems[]=www.domain2.com;site2
HostMatchMapItems[]=siteadmin.domain.com;siteadmin
I'll list my questions here in hope of not having to use another week of searching: 1. Is possible to have one admin-page pr site or can there only be _one_ adminpage no matter how many sites? 2. I'm interessted in having the sites separated, but I read in a post that one could create a 'site' class as a folder and place each site underneath within the admin-interface. Is that the only way to do this or can I have the sites totally separated? 3. Does each site require their own database within the server, or can / must they share the same one? 4. Could someone, if it doesn't require 2 weeks of writing and editing, tell me step by step the approach of putting up a multisite or link me some existing tutorial(s) on the topic? I'd really appreciate some help :) Thanks in advance and best regards! -Bjørn-
Apache 1.3.35
Php 4.4.2
MySQL 4.0.1
EZpub 3.8.2
|