nginx + .cgi/perl scripts...

mike mike503 at
Wed Jul 2 05:37:44 MSD 2008

On 7/1/08, Cliff Wells <cliff at> wrote:

> No, and Igor has made it clear there are no plans to add CGI support to
> Nginx.
> The preferred solutions would be (in order):
> 1) Don't use CGI.  It's inefficient and outdated.  If you can, rewrite
> your scripts to use FastCGI.

i -always- prefer PHP. even RoR or something else that has a better
solution for management.

> 2) Proxy to a simple http server such as thttpd to serve up CGI scripts.

unfortunately, this is bugzilla. i can't really -recode- bugzilla, and
unless someone knows how to run nginx+bugzilla...

it looks like i'm going with the thttpd solution. bleh. i hate perl-based apps.

> 3) Use the FastCGI wrapper provided on the wiki (perhaps provide a patch
> if it's inadequate in some way).  Ultimately this is your "easy hack".

yeah... i don't know perl well enough to want to try hacking
daemonized stuff and all that jazz. i have to support this in the

More information about the nginx mailing list