Welcome! Log In Create A New Profile

Advanced

Re: need help getting perl cgis to work.

January 05, 2012 04:36PM
As others have mentioned, Nginx doesn't support CGI.

Please see

http://wiki.nginx.org/Configuration#CGI

for a couple different options.

Cliff

On Thu, 2012-01-05 at 08:25 -0500, jason@monsterjam.org wrote:
> 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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

need help getting perl cgis to work.

Anonymous User January 05, 2012 08:28AM

Re: need help getting perl cgis to work.

Francis Daly January 05, 2012 08:44AM

Re: need help getting perl cgis to work.

Aleksandar Lazic January 05, 2012 09:36AM

Re: need help getting perl cgis to work.

Cliff Wells January 05, 2012 04:36PM

Re: need help getting perl cgis to work.

Falko Timme January 05, 2012 04:56PM

Re: need help getting perl cgis to work.

Edho Arief January 05, 2012 09:42PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 221
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready