Thankyou for the reply - I didn't actually edit that in the end, I
managed to get it working following the details of this blog post:
http://www.ninjavspenguin.com/blog/2007/01/21/cakephp-install-multiple-subdirectories-500-error/
I also included an index.php with the path to the webroot in the
public_html and it seems to be working great.
On Oct 5, 6:25 am, "Dr. Loboto" <drlob...@gmail.com> wrote:
> /**
> * Editing below this line should NOT be necessary.
> * Change at your own risk.
> *
> */
> if (!defined('WEBROOT_DIR')) {
> define('WEBROOT_DIR', DS.'site'.DS.'webroot');
> }
>
> On Oct 5, 1:26 am, number9 <xpozit...@gmail.com> wrote:
>
>
>
> > 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment