You could look at the lua module. I hardly ever write C for nginx now. http://openresty.org/ has some examples. Also, I'm a big fan of using HTTP over things like fastcgi,scgi, etc. Much easier to test, debug, etc. But that's just my opinion. --Brian