Redhat Linux下为Apache配置FastCGI
RedHat Linux上 FastCGI 安装与配置
上述相关软件下载在 http://www.linuxidc.net/thread-2206-1-1.html
配置httpd.conf 尾部添加 :
LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule fastcgi_module>
AddHandler fastcgi-script .fcgi # you can put whatever extension you want
</IfModule>
FastCgiIpcDir /tmp
可以限制fcgi数目 和 链接时间:
FastCgiServer /home/m/Dev/cvs/ImRoBot5/shdaily/cgi/shdaily.fcgi -processes 1 -idle-timeout 1000
: -processes 1 只允许开启一个进程 适合gdb调试
-idle-timeout 1000 连接超时时间1000s 适合gdb调试
修改fcgi目录
ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
相关推荐
farwang 2020-11-25
星愿心愿 2020-11-24
tianhuak 2020-11-24
zhjn0 2020-11-24
昭君出塞 2020-11-23
bluecarrot 2020-11-23
linuxwcj 2020-10-21
以梦为马不负韶华 2020-10-20
彼岸随笔 2020-10-20
yutou0 2020-10-17
applecarelte 2020-10-16
ourtimes 2020-10-16
waterhorse 2020-09-19
MRFENGG 2020-11-11
rainandtear 2020-10-30
kyssfanhui 2020-10-20
liuhangtiant 2020-10-20