Installing lighttpd 1.4.28 on Mac OS X 10.6.4 Snow LeopardEdit

I installed lighttpd because it was the path of least resistance to getting git instaweb working (and it used to work without any custom setup, but got broken back in May 2010, although there is a fix on the way which will hopefully make it into a released version of Git soon).

$ wget http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.28.tar.gz
$ tar xzvf lighttpd-1.4.28.tar.gz
$ cd lighttpd-1.4.28
$ ./configure
$ make
$ make install
$ sudo make install

And voila, git instaweb now just works!