Serving CGI Scripts With Nginx On Ubuntu 12.04

Posted by falko on Sep 6, 2012 6:14 PM
By HowtoForge
Mail this story
Web version

This tutorial shows how you can serve CGI scripts (Perl scripts) with nginx on Ubuntu 12.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.

This tutorial shows how you can [url=http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-ubuntu-12.04]serve CGI scripts (Perl scripts) with nginx on Ubuntu 12.04[/url]. 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. [url=http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-ubuntu-12.04]http://www.howtoforge.com/serving-cgi-scripts-with-nginx-on-ubuntu-12.04[/url]

Full Story

Printed at http://lxer.com/module/newswire/view/173147/index.html