$Date:: 2007-08-28 #$

FastCGI


1. portsの「mod_fastcgi」をインストール

portinstall www/mod_fastcgi

2. httpd.confを編集

LoadModule fastcgi_module     libexec/apache22/mod_fastcgi.so
  :
<IfModule fastcgi_module>
AddHandler fastcgi-script .fcgi
FastCGIConfig -maxClassProcesses 4 -minProcesses 1
FastCgiIpcDir /tmp
</IfModule>

3. perlモジュール「FCGI」、「CGI::Fast」のインストール

portinstall www/p5-CGI.pm
portinstall www/p5-FastCGI

4. apacheのリスタート


Valid HTML 4.01 Transitional