I submitted a thread about this a week ago, but have been unwell so I
thought I would start a new thread with updated information.

I have setup my files like the following:

/etc/cake - cake folder
/etc/app - app folder
/site/webroot - webroot folder

It appears to be working OK (I've just modified the webroot index.php
file) but the rewrites are not working as they should be. Where should
all of the .htaccess files go (I suspect this is the cause of the
problem). Where should the index.php and .htaccess file go that is
higher than the "app", "cake" and "vendors" folders. I am getting a
404 error when trying to view any controller actions.

Here is what my index.php file looks like (snippet):

/**
 * The full path to the directory which holds "app", WITHOUT a
trailing DS.
 *
 */
        if (!defined('ROOT')) {
                define('ROOT', DS.'home'.DS.'etc');
        }
/**
 * The actual directory name for the "app".
 *
 */
        if (!defined('APP_DIR')) {
                define ('APP_DIR', 'app');
        }
/**
 * The absolute path to the "cake" directory, WITHOUT a trailing DS.
 *
 */
        if (!defined('CAKE_CORE_INCLUDE_PATH')) {
                define('CAKE_CORE_INCLUDE_PATH', DS.'home'.DS.'etc');
        }



Any help would be appreciated, I have read and re-read this page in
the book: http://book.cakephp.org/view/35/Advanced-Installation


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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