I got this working a-ok on MediaTemple, so that I can host N domains
using the same Cake install.

DIRECTORY STRUCTURE:
/home/USERNUMBER/domains/APPS/cake/
This should contain cake/, docs/, vendors/, and index.php

/home/USERNUMBER/domains/APPS/YOURDOMAIN/
Put all your /app/ code here. Note: There is NO .com on the domain.

/home/USERNUMBER/domains/APPS/YOURDOMAIN.com/
Put all your public code in the html folder in here. Note: There IS a
.com on the domain.

ALTERATIONS FOR:
/home/usernumber/domains/YOURDOMAIN.com/html/index.php

if (!defined('ROOT'))
{
         define('ROOT', DS.'home'.DS.'usernumber'.DS.'domains');
}
if (!defined('APP_DIR'))
{
         define('APP_DIR','APPS/directowii');
}

Also change define('CORE_PATH', null);  to define('CORE_PATH',
ROOT.'/cake/');


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to