FastCGI

About FastCGI

    FastCGI is simple because it is actually CGI with only a few extensions.
  • Like CGI, FastCGI is also language-independent. For instance, FastCGI provides a way to improve the performance of the thousands of Perl applications that have been written for the Web.
  • Like CGI, FastCGI runs applications in processes isolated from the core Web server, which provides greater security than APIs. (APIs link application code into the core Web server, which means that a bug in one API-based application can corrupt another application or the core server; a malicious API-based application can, for example, steal key security secrets from another application or the core server.)
  • Although FastCGI cannot duplicate the universality of CGI overnight, the FastCGI developers are committed to propagating FastCGI as an open standard. To that end, free FastCGI application libraries (C/C++, Java, Perl, Tcl) and upgrade modules for popular free servers (Apache, ISS, Lighttpd) are available.
  • Like CGI, FastCGI is not tied to the internal architecture of any Web server and is therefore stable even when server technology changes. An API reflects the internal architecture of a Web server, so when that architecture changes, so does the API.

Not only does FastCGI restore the strengths of CGI, it also adds two new benefits:

  • Distributed computing: Companies can run their FastCGI application on a different machine from the one on which they run their Web server. Distributed computing is a proven technique for scaling, linking to existing corporate systems, improving system availability, and improving security via compartmentalization, such as firewalls.
  • Multiple and extensible roles: CGI applications compute the response to an HTTP request. FastCGI applications can do that and more, such as perform modular authentication and authorization checks and translate data from one type to another. FastCGI is designed so that more roles can be introduced in the future.

Development on FastCGI:

There is not much development on FastCGI because it is a very stable protocol / application.

But, yes, we are here...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Need help! running php scrits with mod_fastcgi and apache

Hey, I am trying to run mod_fastcgi with apache and php.
I have setup everything and seems to work, but when i try to run a php script it returns an error in error_log:

[Fri Nov 21 10:19:25 2008] [notice] Apache/2.0.63 (Linux/64) mod_ssl/2.0.63 OpenSSL/0.9.8b mod_fastcgi/2.4.6 configured -- resuming normal operations
/applications/php/bin/php-cgi: error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
[Fri Nov 21 10:19:40 2008] [error] [client 195.212.29.187] Premature end of script headers: php

P.S. php is running well, im using it with nginx and no error, also in command line.

Please help me out! Thanks

Would really appreciate some help

Developers NOT using PHP seem to fall between the cracks

FCGX problems

Hello FastCGI Team,
Thank you for bringing FastCGI to all of us.
I am sorry to report I am having some trouble with FastCGI
http://forums.iis.net/1103.aspx

Need help on FastCGI support for iPlanet web server

Hi,

This information is very useful.
I'm developing C/C++ based cgi programs under Unix Platform.
And I'm using iPlanet web server. If I want to move to the fastcgi, is it supported in iPlanet web server ?

Re:FastCGI

I have learned about the fast as it is similar to a dynamic process,that is like compile time application and also uses http and ftp protocol ,hence a reliable and secure too.
----
ragavendra

homes for sale by owner

a question

hi all,

i have apache as a proxy to a fastcgi server that handles every request. now that i'd like the apache proxy to serve certain pages/paths for monitoring purposes.
currently, i have this in my apache.conf
Alias / /tmp/fastcgi
RewriteRule ^$ [R]

this, of course, would force apache to forward requests to the fastcgi server. is there a recommended way to set up apache and fastcgi in such a way that apache should handle certain things such as static pages etc.? thanks!

hi

i am fine and how are you i hope all is well with you and i hope work is moving fine and alright dear.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.