+ -
当前位置:首页 → 问答吧 → apache加载fastcgi模块,fastcgi程序可以在另一台机吗,与web服务器不在同一机器

apache加载fastcgi模块,fastcgi程序可以在另一台机吗,与web服务器不在同一机器

时间:2011-08-28

来源:互联网

怎样配置呢,apache的fastcgi好象没有地方配置啊

也是有点奇怪的

http://XX.XX.XX.XX/cgi/test.cgi

这个脚本如果在另一台机器上,那怎样调用啊

作者: xtjsxtj   发布时间: 2011-08-28

fastcgi程序可以与web服务器不在同一台机器

httpd.conf的最后面增加:LoadModule fcgid_module modules/mod_fcgid.so

<IfModule mod_fcgid.c>
  AddHandler fcgid-script .fcgi
  SocketPath /tmp/fcgid.sock
  timeout 1000
  #Action php-fastcgi /cgi-bin/
  #AddType application/x-httpd .fcgi
</IfModule>

作者: one_in_one   发布时间: 2011-08-31