Why all css files and images are not getting loaded in cakephp. Although i've written code like this in my default.ctp
echo $html->css('generic');
Please help me in this issue..
css files are placed in app\webroot\css
Why all css files and images are not getting loaded in cakephp. Although i've written code like this in my default.ctp
echo $html->css('generic');
Please help me in this issue..
css files are placed in app\webroot\css
You have to copy the .htaccess file into your htdocs/yourcakeproject/ directory.
If you're running your Cake application on an Apache webserver you have to make sure that the module mod_rewrite is installed.
If you use Lighttpd as your webserver, there is a chapter in the CakeBook how you have to configure Lighttpd: Pretty-URLs-and-Lighttpd.
Try this changes.In Apache config File
1.LoadModule rewrite_module modules/mod_rewrite.so (Enable This Line) by removing #.Next Step is
2.Replace This Code “AllowOverride None” By “AllowOverride All”.