On Sep 26, 8:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Woops, well I made one mistake on what I gave you.
>
>
>
> > define(APP_DIR, ROOT . DS . 'app');
>
> That should be define(APP_DIR, 'app');
>
> And your .htaccess should be right 'beside' your index.php in your
> webroot directory: /var/www/webroot/cake-test/html
>
> If that doesn't fix it, then add the following lines to your
> index.php.
>
> echo 'ROOT: [' . ROOT . ']<br />';
> echo 'APP_DIR: [' . APP_DIR . ']<br />';
> echo 'CAKE_CORE_INCLUDE_PATH: [' . CAKE_CORE_INCLUDE_PATH . ']<br />';
> exit;
>
> put them right above the note that says
>
> //DO NOT EDIT BELOW THIS LINE//
>
> point at one of your /posts page
>
> You should get
>
> ROOT: [/var/www/webroot/cake-test]
> APP_DIR: [app]
> CAKE_CORE_INCLUDE_PATH: [/var/www/webroot/cake]
>
> I don't think your .htaccess is causing the problem unless you
> modified or something. If you get those values above and you're still
> failing then I'm not sure what's wrong.
>
> Jeff
Yeah, that all checked out fine.
The reason I am harping on about .htaccess (and I realise I sound like
a broken record) is that the one in app contains
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
which looks like it might be relevant to me. But of course, "webroot"
is no longer the correct location (and I dont know how to fix it), and
also (as far as I know) this .htaccess is not going to have any effect
in its current location as it is not under the document root.
I tell ya, this Cake thing better prove to be worth the hassle!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---