You can obviously install to other folders, but if not done properly, you'll encounter a start page with no images, no styles, and some error messages.
The steps I took to make Cake work in my folder (/home/me/dev/myapp) and to work with the http://localhost/myapp URL where:
- Uncompress the latest version of Cake to /home/me/dev/myapp
- Edit my /etc/apache2/users/me.conf and add the following (replace braces with chevrons):
Alias /myapp/ "/home/me/dev/myapp/"
Allow from all
- Edit the .htaccess file in your /home/me/dev/myapp folder and add RewriteBase /myapp/ to it. Should look something like (replace braces with chevrons):
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
- Make sure your /home/me/dev/myapp/app/tmp folder is writable by all
- Restart apache
And that's it. After these steps you should be able to access your application and see the default Cake page, including images & CSS.