I wrote that original wiki article, but I haven't actually tried moving
the webroot out of the app - I only usually separate the core cake
files (for easy update, and switching cake versions).  The WEBROOT_DIR
option is in the "do not change" part, as for normal cake installations
you don't need to change it (just like you don't normally need to
change the .htaccess files).

Now, in your case, where are your application files?  Usually the ROOT
variable is set to where your application sits. So ROOT . APP is your
app folder, in your case this would be '/usr/developer/cake/cake/app',
is this correct?

Anyway, if you really want the webroot outside of the app, search this
google group (as I thought it had been discussed before), and ask nate
or PHPNut on the irc channel.  Then update the wiki :)  If you just
want your cake core separated, then you should have something like:

/usr/developer/cake_app   <- your "app" folder
/usr/developer/cake_app/webroot  <- application webroot
/usr/developer/cake_core  <- core cake files

Alias  /cakedev  /usr/developer/cake_app/webroot

define('ROOT', '/usr/developer/');
define('APP_DIR', 'cake_app');
define('CAKE_CORE_INCLUDE_PATH', '/usr/developer/cake_core');
define('WEBROOT_DIR', 'cakedev');

and
RewriteBase /cakedev

in your /usr/developer/cake_app/webroot/.htaccess


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to