Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cakephp css and images problem at localhost

Tags:

cakephp

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?

like image 904
Yasir Arefin Avatar asked Jan 20 '26 08:01

Yasir Arefin


1 Answers

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.

like image 52
mikegreenberg Avatar answered Jan 23 '26 20:01

mikegreenberg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!