Cake on OS X with Headdress

10/29/2007 · 2 comments

in OS X, PHP & MySQL

As I’ve been testing CakePHP I’ve run into an odd issue on my local OS X development environment. I couldn’t get the system configured to properly render the site I was building. It didn’t even show the default documentation properly – the CSS and images were missing. After digging around the Web and trying many different options, including mod_rewrite modifications and changes to MAMP, I discovered that I hadn’t properly configured my local dev site in Headress.

The issue was my choice of document roots within Headdress. I had chosen the main directory (Dev/MySite/), but what I needed to choose was the webroot directory a couple of levels down (Dev/MySite/app/webroot/). That small change fixed the appearance and redirection issues. Easy as Cake!

Did you like this? Please share it:

Add to Twitter Add to Delicious Add to Facebook Add to Stumble Upon Add to Digg Add to Reddit Add to Yahoo Buzz

2 comments so far… Jump into the discussion and tell us what you think.

J. Bradford 10/29/2007 at 11:25 am

Mmmmmmm Cake. Got to love cake. So simple, so clean.

Reply

Alex 10/29/2007 at 12:33 pm

Yeah, I’m really digging it. Outside of the issue noted above, it’s been pretty smooth.

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post:

Next post: