> I have one main application at example.com, and I'd like to install > another application at app2.example.com. How can I do something like > this, where both apps are utilizing the same cake core? > > It would be great if I could put both apps in my www directory on my > host, and then setup the .htaccess to use the appropriate folder based > on the url.
move you installed Cake folder to the same level as your domains, eg: /cake_php -> Cake CORE files and multiple App folders, app_a app_b /mydomain.com -> WEBROOT for App A /sub.mydomain.com -> WEBROOT for App B edit the locations of ROOT and APP in //mydomain.com/index.php and /sub.mydomain.com/index.php so they point at the correct places. hth Jon -- jon bennett t: +44 (0) 1225 341 039 w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
