[fpc-pascal] FastCGI on Windows IIS
Marcos Douglas
md at delfire.net
Mon Apr 25 15:41:31 CEST 2016
On Mon, Apr 25, 2016 at 3:57 AM, Michael Van Canneyt
<michael at freepascal.org> wrote:
> You always need to specify 2 paths:
>
> http://localhost:2015/fcgitest.exe/pdf/act1/
>
> Unless you have set a default module and name in the application:
>
> AllowDefaultModule:=True;
> DefaultModuleName:='pdf';
> PreferModuleName:=False;
I've read emails on the list that you said that only if the program
has more than one Module is necessary to specify two paths. But Ok,
for me makes more sense to use 2 paths.
>> #2 Call Module/Action
>> URL: http://localhost:2015/fcgitest.exe/pdf/act1/
>> Result: print - "default"
>> Log:
>> PATHINFO=/fcgitest.exe/pdf/act1/
>> NEXT_PATHINFO=fcgitest.exe
>
>
> Yes, this is a normal response, it seems ?
Well, I was thinking if an Action should have more priority to execute
if I call it directly on URL — but I don't know if the 'Module
request' was execute because of the bug on PATHINFO or because it has
more priority.
> Even so, PATHINFO should not contain /fcgitest.exe/.
> You can trust Microsoft to do things in an incompatible way :/
Yeah... :\
So do you will make a patch or doesn't have time in this week?
Maybe I can try. Now I know there is a SERVER_SOFTWARE variable to
test if is Windows IIS... but if you will fix just tell me, please.
I'm still using FPC 2.6.5 version. But I guess this package still
works in this version so, do you think can I replace the fcl-web from
2.6.5 to use 3.0.0 version, after the changes?
Thanks,
Marcos Douglas
More information about the fpc-pascal
mailing list