[Lazarus] fpWeb FCGI Setup

silvioprog silvioprog at gmail.com
Thu May 26 18:30:40 CEST 2011


Hi.

I could never run a FastCGI module. :(

My steps (without success):

1. Download and install lasted XAMPP;
2. Download "http://www.fastcgi.com/dist/mod_fastcgi-2.4.6-AP22.dll"
em copy to "C:\xampp\apache\modules\mod_fastcgi-2.4.6-AP22.dll";
3. Edit the "C:\xampp\apache\conf\httpd.conf" to:
  LoadModule rewrite_module modules/mod_rewrite.so
  LoadModule fastcgi_module modules/mod_fastcgi-2.4.6-AP22.dll
  <IfModule mod_fastcgi.c>
    FastCGIConfig -autoUpdate -idle-timeout 120 -killInterval 3600
-maxClassProcesses 3 -maxProcesses 15 -startDelay 30
    AddHandler fastcgi-script .fcgi
  </IfModule>
4. Restart Apache;
5. Create, compile and copy the my demo (in attached) to
"C:\xampp\cgi-bin\test.fcgi";
6. Open in Firefox the link "http://localhost/cgi-bin/test.fcgi";

And not works. When I open the link, Firefox freezes, as if the module
was on infinity loop.

How do I fix it?

Thx.

-- 
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
   * Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FastCGI.zip
Type: application/zip
Size: 2200 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110526/24b68329/attachment-0003.zip>


More information about the Lazarus mailing list