[fpc-pascal] FastCGI and FpWeb
Luiz Americo Pereira Camara
luizmed at oi.com.br
Sat Jul 3 16:37:42 CEST 2010
I've created some CGI applications with fpWeb with success.
I tried to create a FastCGI application (a simple hello world) but when
a request is done the program start, Application.Initialize and
Application.Run is called. TCustomWebApplication.HandleRequest (I've
monitored OnGetModule) is not called. WebModule is not created.
The application consumes all cpu.
Using fpc 2.4.0, windows xp, apache 2.2.15, mod_fcgid 2.3.5
Any hints on what going wrong?
It was there any fix in fastcgi/fpweb after 2.4.0?
my apache fcgi specific configuration:
ScriptAlias /fcgi-bin "D:/work/fcgi-bin"
Options Indexes FollowSymLinks ExecCGI
Allow from all
More information about the fpc-pascal