, apache DocumentRoot /path/to/your/site/in/a/subdir/webroot
Part of the website is crucial - it prohibits access to files from outside webroot and htaccess in the webroot folder, skips uploading the index.php file for sending actual files inside webroot (img, css, etc.)
If you have the DocumentRoot path set correctly, and the subfolder from the site’s root directory to install the cake is included in the .htaccess file, as mentioned above, the fix problem should fix itself.
You might want to tell us the absolute path on the server to the installation for the cake, and also show us the VirtualHost block with detailed DocumentRoot information.
source
share