Thursday, April 30, 2009

404 File not found when try to browse my first project

Here is the background.
- cakePHP 1.2 in Linux with Apache
- everything was extract to /root/cakePHP
- when I browse http://localhost/cakePHP, it shows the first page
correctly (CSS, tmp writable, DB connected.)

I establish my first project by creating files (in Dreamweaver) and
store them in app/controllers/books_controller.php and app/views/books/
index.ctp to just display simple text "THIS IS A TEST".

I've got error when I browse to http://localhost/cakePHP/books/. The
error is just normal HTML 404 file not found. I guess I miss some
setup, didn't I?

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