On Sun, Apr 24, 2016 at 9:26 AM, Marcos Douglas <m...@delfire.net> wrote:
> On Sun, Apr 24, 2016 at 3:58 AM, Michael Van Canneyt
> <mich...@freepascal.org> wrote:
>>> Browser:
>>> http://localhost:2015/fcgitest/pdf/act1
>>>
>>> Error:
>>>
>>> The application encountered the following error:
>>> Error: Could not determine HTTP module for request "fcgitest.exe"
>>
>>
>> Why do you put fcgitest in the request ?
>
> Sorry, I didn't understand what you mean. I need to put the executable
> name in the URL, like "mycgi.cgi" in these examples:
> http://wiki.freepascal.org/fcl-web
>
> ...and there is a typo (missing ".exe"). The 'correct' is:
> http://localhost:2015/fcgitest.exe/pdf/act1
>
> ...but it does not solve the problem. :(

My env: Lazarus 1.5 r50201M FPC 2.6.5 i386-win32-win32/win64

So I took his example here \packages\fcl-web\examples\helloworld
Compiled it. ISS configured to port 2020.
Call in browser http://localhost:2020/helloworld.exe/func1call

...and got the same error:

The application encountered the following error:

Error: Could not determine HTTP module for request "helloworld.exe"
Stack trace:
$0042F823
$0042FF52
$0042F322
$00401775 main, line 13 of helloworld.lpr


Please, have you any ideas?

Best regards,
Marcos Douglas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to