On RedHatLinux FastCGI installation and configuration software package related software package: httpd2.2.14 // note that this version does not have problems (Note: apachehttpd installation see http://www.linuxidc.com/Linux/2011-05/35884.htm )fcgi-2.4.0.tar.gz mod _
Install and configure FastCGI on RedHat Linux
Software Package
Related software packages:
Httpd 2.2.14 // note that this version does not have problems (Note: apache httpd installation see http://www.linuxidc.com/Linux/2011-05/35884.htm)
Fcgi-2.4.0.tar.gz
Mod_fastcgi-2.4.6.tar.gz please read README carefully
The above software is downloaded in http://www.linuxidc.net/thread-2206-1-1.html
Add httpd. conf at the end:
LoadModule fastcgi_module modules/mod_fastcgi.so
AddHandler fastcgi-script. fcgi # you can put whatever extension you want
FastCgiIpcDir/tmp
You can limit the fcgi quantity and link time:
FastCgiServer/home/m/Dev/cvs/ImRoBot5/shdaily/cgi/shdaily. fcgi-processes 1-idle-timeout 1000
:-Processes 1 allows only one process to be enabled for gdb debugging.
-Idle-timeout 1000 connection timeout 1000 s suitable for gdb debugging
Modify fcgi directory
ScriptAlias/cgi-bin/"/usr/local/apache2/cgi-bin /"