I have my own digitalocean
droplet setup and followed this tutorial to a T to get Cakephp
working
Everything works exactly as written in that tutorial besides for ‘Step 6’ – Creating the Article user interface. (Books in my case)
After using the bake all command and navigating to `/books’ I get a 404 not found
As you can see CakePHP is setup and working at the top level URL, however when trying to move past that to a Controller that definitely exists it can’t find it.
2
Answers
After some more digging, I found the issue. Apparently mod_rewrite is turned off by default on Ubuntu
is the solution here
Make sure your rewrite mod is On
If you are using Linux goto /etc/apache2/sites-enabled -> open 000-default.conf file
Save it.
restart your server:
sudo service apache2 restart
give your project permissions by giving this command: