[Lazarus] Developing with fcl-web
leledumbo
leledumbo_cool at yahoo.co.id
Sat Jul 26 23:45:15 CEST 2014
> I tried this on my older CGI Application, changing the uses clause in the
.lpr file to 'fphttpapp'. Compiled without a problem but of course I could
not run it in Lazarus since the run button/menu entry is disabled.
Check Project Options->Miscellanous->Project Is Runnable. CGI wizard
automatically uncheck this because it makes no sense for CGI.
> Running on the command line gave a socket error which looks like it is
> working (perhaps changing the port from 80 to something else fixes this).
I don't remember whether the default is 80 or not, I always set it
explicitly via Application.Port.
> If it's that simple why is it that hard to get that information. Please,
> tell me I am stupid and there is a wiki page that I just did not find.
Perhaps it's your turn to contribute to fcl-web wiki article :)
P.S.: If you use Nginx or any other web server whose FastCGI executable must
be started manually, you can also debug from IDE
--
View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Developing-with-fcl-web-tp4038075p4038088.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
More information about the Lazarus
mailing list