Standard CGI under nginx

mike mike503 at gmail.com
Wed Oct 15 00:58:51 MSD 2008


i was using thttpd for cgi scripts and just proxying to it, but it had
some random crashes and i needed some environment variable support and
couldn't figure out how in thttpd. so instead i have a small apache
instance i proxy to for cgi scripts.

best i could do.


On Tue, Oct 14, 2008 at 12:33 PM, Francisco Valladolid <ficovh at gmail.com> wrote:
> Hi folks
>
> I see the example using normal CGI under nginx, via wrapper, whenever
> the cgi-wrapper.pl fail to start
>
> ficovh:~> /usr/pkg/bin/cgiwrap-fcgi.pl&
> [1] 12390
>
> ficovh:~> Can't locate syscall.ph in @INC (did you run h2ph?) (@INC
> contains: /usr/pkg/lib/perl5/site_perl/5.8.0/i386-netbsd-thread-multi
> /usr/pkg/lib/perl5/site_perl/5.8.0 /usr/pkg/lib/perl5/site_perl
> /usr/pkg/lib/perl5/vendor_perl/5.8.0/i386-netbsd-thread-multi
> /usr/pkg/lib/perl5/vendor_perl/5.8.0 /usr/pkg/lib/perl5/vendor_perl
> /usr/pkg/lib/perl5/5.8.0/i386-netbsd-thread-multi
> /usr/pkg/lib/perl5/5.8.0 .) at /usr/pkg/bin/cgiwrap-fcgi.pl line 9.
>
>
> While I don't know a perl hacker, I need run simple CGI scripts from nginx.
>
>
> I'm using NetBSD 4 Stable in this small machine.
>
>
> --
> Francisco Valladolid H.
>  -- http://bsdguy.net - Jesus Christ follower.
>
>





More information about the nginx mailing list