Saturday, November 1, 2008

Re: newbie to 1.2

Hi,

> I'm trying to learn 1.2 so I can migrate my 1.19 app.  I've got 1.2 to
> run on my server, but as I work through the tutorial I encounter the
> problem where I can only get the view to work if i use the url /
> index.php/posts/index  instead of just posts/index.  This creates
> problems further down stream as I try to add and edit posts in the
> tutorial.  In my 1.19 app I remember setting something that allows
> posts to be my default page instead of index, but I can't find where
> I've set that.

You have to enable mod_rewrite, see http://book.cakephp.org/view/37/Apache-and-mod_rewrite

Hope that helps!

--
Daniel Hofstetter
http://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
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: