Forums / Install & configuration / What files are placed in the seperate site directories when running multiple sites with seperate databases from one eZ installation?

What files are placed in the seperate site directories when running multiple sites with seperate databases from one eZ installation?

Author Message

Maggie Martin

Thursday 29 May 2003 3:24:14 pm

I realise that each site must have its individual database set-up but what else?

I truly appreciate any help on this question.

Jo Henrik Endrerud

Friday 30 May 2003 12:37:10 am

I would suggest to use separate var directories. To do this set the VarDir setting in [FileSettings] in the site.ini.append file for the current site access and point this variable to the new var directory for each site.
Everything else can be shared.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Maggie Martin

Saturday 31 May 2003 11:10:16 am

Thanks, Jan!

We had a power outtage for 14 hours so I couldn't say my thanks sooner ;-)

would this look like so?

in

settings/siteaccess/testsite/site.ini.append

[FileSettings]
VarDir=testsite/var
StorageDir=testsite/storage
CacheDir=testsite/cache

M.

Jo Henrik Endrerud

Monday 02 June 2003 12:34:03 am

Jan? No, this is Jo Henrik :)

The StorageDir and CacheDir variables should be relative to the var directory, so the only variable you should change is the VarDir. If this is set to testsite/var then StorageDir is automaticly set to testsite/var/storage.

I hope this works out for you

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Hussain Vahanvaty

Monday 02 June 2003 10:00:34 am

Maggie did this work for you?

Maggie Martin

Tuesday 03 June 2003 5:02:10 pm

Sorry I mixed up your name, Jo!

And "separate" is the correct spelling.

Hi Hussain.

No I haven't got this to work yet.

Good thing I'm stubborn because this is not "ez" to install ;-)

I'm still trying to set up a separate site with its own admin and user and a separate database sharing one eZpublish installation

I 'm still testing to be sure I haven't missed something simple. I'll be back with more questions very soon!

I sure wish there was a step by step recipe I could follow for this ...

M.

Alexandre Cunha

Friday 13 June 2003 7:19:03 pm

So, how you setup a individual database for each site ?
Tha separation of files anda templates is easy, but cant understand how setup multiple databases with one EZ install.

See my other question post at http://ez.no/developer/ez_publish_3/forum/setup_design/how_use_different_databases_for_different_sites_with_some_ez_instalation_

axel

http://AlexandreCunha.com

Bruce Morrison

Saturday 14 June 2003 12:11:30 am

To setup an individual database for each site you need to put the database information in siteaccess/site_name/site.ini.append. There should be no database information in override/site.ini.append.php

Bruce
designIT

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish