Thursday, September 30, 2010

Path problem

Hello,

When I copy and past all cakephp files into htdocs folder and then try
to access http://localhost/cakephp, the default page isn't able to
find the css files and the images that are in the webroot folder. And
I don't understand why because everything seems to be ok in the
configuration...

http://localhost/cakephp = ok
http://localhost/cakephp/img = not found (404)

After, when I create a model posts.php and a controller
posts_controller.php and try to access http://localhost/cakephp/post,
I have an error 404... I though that it can be the rewriting module
that isn't activated but he was. The htaccess are allowed.

Any idea about this problem?

System : Mac OS X 10.6.4
Server : MAMP

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

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: