in reply to Getting pure CGI application to run under FastCGI on IIS

When running in a persistent environment like FastCGI, you basically have to make the same changes you would for mod_perl. This means watching out for globals and closures. There's good introductory material on http://perl.apache.org/ that can help you with this. If you show some code, or at least the error messages, we might be able to help with the issues you're having with the CGI object and query parameters.
  • Comment on Re: Getting pure CGI application to run under FastCGI on IIS

Replies are listed 'Best First'.
Re^2: Getting pure CGI application to run under FastCGI on IIS
by oyse (Monk) on Feb 04, 2009 at 22:09 UTC

    I will take a look at the mod_perl documentation. Thanks for the tip.

    For the specific issues I have had with the CGI object and the CGI parameters, I think it would be easier to post each of them in separate thread if I decide to do the conversion. That would make them easier to find using Search later as well.

    Now I am more interested in getting an idea of the scope of the effort of getting a CGI application to run under FastCGI and if there are important issues to keep in mind (in addition to the globals and the closures that you already mentioned), if running FastCGI on IIS is common and if it is possible to have a application run but under CGI and FastCGI without doing too much work to keep the application running under both environments.