[fpc-pascal] Re: CGI under Linux using FCL-Web

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Wed Apr 4 14:57:50 CEST 2012

On Wed, 4 Apr 2012, Christian Kranich wrote:

> Hello All,
> 1) Sorry, I posted no follow ups but fress posts (twice) before noticing. Will
> not repeat this.
> 2) just tried testcgiapp --input=mycgi.cgi
> This also returns silently w/o any other output.
> The path to the htmls is also valid.
> Where and how is the CGI input processed?
> I see only a TFPWebmodule type object in my code
> (and the DataModuleRequest method to handle the request..)
> and  a RegisterHTTPModule() in the main of the program.
> Is there anything that I need to initialize(which might be done
> correctly under Windows but needs an extra step under Linux)?

You need to fill DataModuleRequest with code; It should put something in
response, and then call Response.SendResponse. If you don't, nothing will


More information about the fpc-pascal mailing list