22 May 08 _ Mosso Hosting and CakePHP

By casey
in CakePHP, Casey's Corner
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.









June 2nd, 2008 at 12:34 pm
Thanks so much. I have noticed how buggy Mosso is at times, and this really scared me as I have over 100 clients on mosso now and I am using Cake for all my projects now.
You saved me so much grief and worry!
Thanks!!!!!
June 18th, 2008 at 1:16 am
I looked into Mosso a while ago, but what made me not go through with them was the dummed down cpanel equivalent. I also heard that their downtime was pretty patchy (although this was a while ago).
Although, it’s great to see a cloud hosting solution for such a cheap price tag and the client management seems fantastic.
June 2nd, 2009 at 7:04 pm
I’m sure this post just saved me about 18 hours of frustration. Thank you!