HOWTO: Lighttpd with SSL, Rails, PHP and MySQL on OSX 10.4 (Tiger)
Apr 04 ’06
I've run Apache on my Mac for as long as I've had OSX, using either the built-in version or the ServerLogistics package, which they don't make anymore. It always worked great, and when I started learning PHP, it was easy to install and make work. Getting SSL to work was a little bit more of a challenge, but once I found the right instructions it was a breeze.
But now I need to serve Rails as well. Getting Apache to do RoR with fcgi can be a hassle, and it's apparently slow as well, so I decided to switch to lighttpd, or lighty as it's called.
For development purposes, using the standard script/server is a no-brainer; however I want a "production" environment as well. One that can serve Rails, and legacy PHP, and do SSL for authentication, while talking to MySQL. I discovered that lighty can do all of these things, but how? Read the rest …








