Serving CGI Scripts With Nginx On Debian Squeeze/Ubuntu 11.04

Filed under
HowTos

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Debian Squeeze/Ubuntu 11.04. While nginx itself does not serve CGI, there are several ways to work around this. I will outline three solutions: the first is to proxy requests for CGI scripts to Thttpd, a small web server that has CGI support, while the second and third solution are very similar - both use a CGI wrapper to serve CGI scripts.

http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-debian-squeeze-ubuntu-11.04