need help getting perl cgis to work.

Falko Timme ft at falkotimme.com
Thu Jan 5 21:55:22 UTC 2012


You can find three different solutions here:

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

(I prefer Fcgiwrap.)

----- Original Message ----- 
From: <jason at monsterjam.org>
To: <nginx at nginx.org>
Sent: Thursday, January 05, 2012 2:25 PM
Subject: need help getting perl cgis to work.


> hey folks, ive been running apache for years but now trying to use nginx. 
> I have nginx and php(with fastcgi)
> working fine, but whenever I try to bring up my web page that has a perl 
> cgi on it, it just downloads the script
> instead of executing it.. I cant figure out how to make it work right.. 
> basically heres the config that I have
> for it in my apache conf
>
> ScriptAliasMatch ^/blog/?(.*) /var/www/localhost/htdocs/blog/blog.pl/$1
>
> and
>
> <Directory "/var/www/localhost/htdocs/blog">
>        Options +Includes
>        <FilesMatch "blog.pl$">
>        Options ExecCGI
>        </FilesMatch>
>
> when do I need to do to get nginx to properly execute the perl cgi?
>
> thanks/regards,
> Jason
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx 



More information about the nginx mailing list