Page 1 of 1

Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 12:30 pm
by jfl@mafact.com
Installing Modharbour.exe as FastCgi on IIS 10.
--------------------------------------------------------

Create a folder with all the needed files from

https://github.com/FiveTechSoft/mod_har ... /win64/*.*

to (for exemple) c:\modharbour

Launch IIS manager from "Control Pannel, Administrative tools."

Click on the main IIS server, (same name as the server or computer itself)
From the IIS section (the last one), look for "Handler Mapping icon" and double-click it.

On the right side pannel, look for "ADD an handler mapping"

Request Path : *.prg, *.hrb
Modules : Select FastCgi
Executable : c:\modharbour\modharbour.exe
Name : Mod_Harbour_FCGI (for exemple)

Now click on the button [request restriction] and uncheck the main box then OK

Click now on OK.

Restart your IIS server.

Samples should be installed as already described by Antonio.

Don't forget to give the user IIS_IUSRS the right to the samples folder.

Enjoy FastCgi on IIS :)

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 1:58 pm
by Antonio Linares
thank you!!! :-)

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 2:26 pm
by acuellar
Cuál es mejor? Which is better?

Apache ó IIS?

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 3:34 pm
by jfl@mafact.com
I think Appache could be better in term of speed. (Just a feeling, not tested)
But some time you have no choice, this is my case.

JF

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 4:33 pm
by acuellar
Perfect

Thanks.

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Mon Jun 22, 2020 5:01 pm
by jfl@mafact.com
Antonio Linares wrote:thank you!!! :-)
You are welcome :)

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Tue Jun 23, 2020 12:51 pm
by jfl@mafact.com
Hi Antonio,

Is there anything to do to have it working with ADS (but to copy the ADS distribution dlls to the same folder as Modharbour.exe)

Thanks,

JF

Re: Installing Modharbour.exe as FastCgi on IIS 10.

Posted: Wed Jun 24, 2020 6:23 am
by Antonio Linares
JF,

Here you have a GitHub "action" (workflow) that automatically builds it with MSVC64 and ADS:
https://github.com/FiveTechSoft/mod_har ... co_ads.yml

You just have to adapt it for mod_harbour fastCGI. I do appreciate your help adapting it.

In a matter of a few minutes you should have it working :-)

Please let me know if you need help with it, thanks! Once you get it working, we will add it as a new "action" for mod_harbour ;-)