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 happen. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal