[fpc-pascal] FastCGI on Windows IIS

Michael Van Canneyt michael at freepascal.org
Sun Apr 24 07:40:49 CEST 2016



On Sun, 24 Apr 2016, Marcos Douglas wrote:

> On Sun, Apr 24, 2016 at 1:31 AM, Marcos Douglas <md at delfire.net> wrote:
>> Hi,
>>
>> I'm trying to use FastCGI on IIS without success.
>> https://www.iis.net/configreference/system.webserver/fastcgi
>>
>> My environment is:
>> - FPC 2.6.5
>> - Lazarus 1.5
>> - IIS
>> - Windows 10
>>
>> The CGI protocol works fine, but FastCGI not. I got an error 500.
>> If I change the fpFCGI to fpcgi — and comment the Application.Port —
>> everything works fine.
>
> I've found the problem:
> The Application.Port cannot be setted.
>
> I think this property (Port) is only used in a self-contained server
> application. Am I right?

You are right,

Michael.


More information about the fpc-pascal mailing list