We here at the shop have playing around with a pretty cool new hosting solution, called Mosso. It’s a cloud-computing technology with some pretty good ideas, albeit buggy at times. A review of this whole system is grounds for a whole ‘nother (longer) post, but in the mean time, I wanted to share a piece of knowledge with getting CakePHP to run correctly.
It’s pretty simple, actually. For each .htaccess file that Cake has (in the root, /app/, and /app/webroot/) you need to add this line right after the RewriteEngine is initialized:
RewriteBase /
After that everything works totally fine. If you don’t do this for each file, you’ll get 500 Internal Server errors popping up all over the place.
Hat tip: Greg Knaddison at the Drupal forums.
