can you give me an exact tutorial on how to run perl on nginx server?

i am able to run perl on apache, lighttpd but i want to run it in my nginx server, it is because i want to run a file hosting script that is coded in perl and i want to integrate it on my nginx server. i tried following the tutorial on linode about fast cgi but it doesnt work, i always get a 404 error on my nginx.

so please? can you give me a simple and detailed tutorial on how to run perl/cgi-bin in my nginx? thanks!

link|improve this question

31% accept rate
feedback

1 Answer

Firstly, to process scripts for dynamic content on Nginx you need something like Fast CGI Process Manager http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian

I had this running with PHP and wanted Perl scripts to run additionally, but then I realised that wouldn't work for obvious reasons (I was having a dumb moment). So, see this question on ServerFault, http://serverfault.com/questions/337404/nginx-perl-not-working, the answer to your question is here: http://wiki.nginx.org/SimpleCGI

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.