Installing Modharbour.exe as FastCgi on IIS 10.

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Installing Modharbour.exe as FastCgi on IIS 10.

Postby jfl@mafact.com » Mon Jun 22, 2020 12:30 pm

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 :)
JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

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

Postby Antonio Linares » Mon Jun 22, 2020 1:58 pm

thank you!!! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby acuellar » Mon Jun 22, 2020 2:26 pm

Cuál es mejor? Which is better?

Apache ó IIS?
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1644
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

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

Postby jfl@mafact.com » Mon Jun 22, 2020 3:34 pm

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
JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

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

Postby acuellar » Mon Jun 22, 2020 4:33 pm

Perfect

Thanks.
Saludos,

Adhemar C.
User avatar
acuellar
 
Posts: 1644
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

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

Postby jfl@mafact.com » Mon Jun 22, 2020 5:01 pm

Antonio Linares wrote:thank you!!! :-)


You are welcome :)
JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

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

Postby jfl@mafact.com » Tue Jun 23, 2020 12:51 pm

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
JF Lefebvre (Jean_François)
Mafact SA (Belgium)
http://www.mafact.com
jfl@mafact.com
 
Posts: 43
Joined: Tue Mar 25, 2008 7:22 pm

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

Postby Antonio Linares » Wed Jun 24, 2020 6:23 am

JF,

Here you have a GitHub "action" (workflow) that automatically builds it with MSVC64 and ADS:
https://github.com/FiveTechSoft/mod_harbour/blob/master/.github/workflows/modharbour_win64_msvc_choco_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 ;-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42149
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 2 guests