running multiple sites from one instalation of CI on Media Temple

#4
[eluser]tomcode[/eluser]
I don't know the Media Temple setup, but here a general setup :

Either with folders :
/www/
/site1.com/
assets/
index.php
/site2.com/
assets/
index.php

If You want to share the assets You need to create a sym link for one of the assets folders.

Or using different files :
/www/
assets/
site1.php
site2.php

with the in the index.php files :
Code:
$system_folder = "/serverpath/to/Your/system/";
$application_folder = "/serverpath/to/Your/application/";

then in the admin area of Your Media Temple account You point the sub domain entries to Your index.php (sitex.php) files


Messages In This Thread
running multiple sites from one instalation of CI on Media Temple - by El Forum - 08-20-2009, 09:45 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.