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

2012-04-04 Thread Christian Kranich
Case closed I simply was not aware that a certain amount of objects must be alive in an application to use FCL-WEB / CGI. If based (again) on the Lazarus samples and a Lazarus created 'CGIApplication' (with a Webmodule Form) - then it works just fine :-) Thx again for the fine support

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

2012-04-04 Thread Christian Kranich
> 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. The source of the problem might be located in the unit between my ears ;-O Looks as if I misunderstood something. - FCL-Web is a Lazar

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

2012-04-04 Thread michael . vancanneyt
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

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

2012-04-04 Thread Christian Kranich
> > > If I had debug writelns in the code, it complained about misformed > header format - showing the first debug output line) > > michael said: > * Do not attempt I/O to standard input/output/error. > Hello, Thx for the hint: I have already removed the writelns. (I was already aware that st

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

2012-04-04 Thread Christian Kranich
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 TFPW

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

2012-04-04 Thread leledumbo
> If I had debug writelns in the code, it complained about misformed header format - showing the first debug output line) michael said: * Do not attempt I/O to standard input/output/error. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/CGI-under-Linux-using-F