Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So i have been reading forum after forum and my bakery is still not functional. Here is my folder tree: /home/jja/public_html/ there i have: app, cake, index.php and one .htaccess that looks like:

RewriteEngine on

RewriteBase /

RewriteRule ^$ app/webroot/ [L]

RewriteRule (.*) app/webroot/$1 [L]

I get no log errors and a 404 Error.

share|improve this question

This article might help you Installing CakePHP on shared hosting

I am also hosting my website on hostgator without any problems. Dont keep your app and cake folders in public_html folder.

Move the app and cake folder to the main root i.e /home/username

Move all the folders inside the webroot to public_html

Your folder structure should look like this:


You will also have to make changes to the index.php file found in the webroot. This has been explained in the above mentioned link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.