tags:

views:

57

answers:

3

I've downloaded a project from a root server. It acts there very fine. But when i run the project in the localhost on xampp environment, didn't find the any css nor any images. How can i solve this problem?

A: 

Check the permissions of the /app/webroot/css and /app/webroot/img folders. Also check if you have mod_rewrite properly configured.

Nik
A: 

You should also verify the contents of your .htaccess files in the root install directory, in /app and /app/webroot. Depending if you are serving CakePHP from a subdirectory (like http://domain.com/somesubdirectory/) you might have to add a RewriteBase directive to your .htaccess file in /app/webroot/. Details here.

Michael
A: 

Check out this tutorial which talks about mod_rewrite:

link text

"Occasionally a new user will run in to mod_rewrite issues, so I'll mention them marginally here. If the CakePHP welcome page looks a little funny (no images or css styles), it probably means mod_rewrite isn't functioning on your system. Here are some tips to help get you up and running: ..."

farout