Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I am able to run perl on apache and lighttpd, but I want to run it in my nginx server 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 does not 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?

share|improve this question
add comment

1 Answer 1

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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