[Lazarus] CGI Application do not enable Run (F9) button

Marcos Douglas B. Santos md at delfire.net
Mon Jun 4 15:03:06 CEST 2018


On Mon, Jun 4, 2018 at 2:54 AM, Michael Van Canneyt via Lazarus
<lazarus at lists.lazarus-ide.org> wrote:
>
>
> On Sun, 3 Jun 2018, Marcos Douglas B. Santos via Lazarus wrote:
>
>> I've just clicked in New>CGI Application to create a new project and the
>> Run(F9) button is disabled.
>> However, If I choose FastCGI instead, the button stay enabled.
>>
>> Is this a bug or a kind of restriction?
>
>
> You cannot run a CGI program in the IDE. It expects a server environment.
> If you attempt to run it in the IDE, you'll get an error 'no REQUEST_METHOD
> passed from server' or something like it.

Hey Michael, thanks. But my intention was to code an example showing
how we can change between CGI and Standalone using directives.
I've used FastCGI choice instead.

I'm still curious: how disable the button in IDE?

Best regards,
Marcos Douglas


More information about the Lazarus mailing list