Hi Group,

I'm new to Cake and struggling to get my first app installed. I've
been following the blog tutorial at [1], but with one subtle
difference in my setup: I've installed Cake into a subdirectory.

I dumped everything from the zip into /webroot/cake, fired my browser
and navigated to http://localhost/cake. The css was missing, and so I
modified my .htaccess to look like this:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /cake/
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

Cake told me it could connect to the database, and I pressed on with
the tutorial. Unfortunately, when I get to "Now you should be able to
point your browser to http://www.example.com/posts/index"; (modified
accordingly to http://localhost/cake/posts/index), I get:

"Missing controller.
You are seeing this error because controller PostsController could not
be found."

But PostsController is definitely there, and correct ;-)

I have no idea where to go from here. My guess is that the app
directory is not where Cake is expecting it to be, but I can't find
any clues as to where it's actually looking.

What am I doing wrong?

Many thanks,
Matt.


[1] http://manual.cakephp.org/appendix/blog_tutorial

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

Reply via email to