I'm working on an App that runs a webservice hosted an Android device. I'm using a basic webserver right now and have been asked to be able to support technologies such as FastCGI. I found Lighttpd which seems like it might satisfy, but I don't know where to begin with integrating it to Android. Does anyone have any suggestions of where to look to find an example of such a use. I'm open to any webserver as long as it supports FastCGI.
Here is blog post about successful build: http://hex.ro/wp/blog/php-and-lighttpd-for-android/
It might help you to begin.