Installing Modharbour.exe as FastCgi on IIS 10.

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
jfl@mafact.com
Posts: 14
Joined: Tue Mar 25, 2008 7:22 pm

Installing Modharbour.exe as FastCgi on IIS 10.

Post 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 :)
J. Lefebvre
Mafact SA (Belgium)
http://www.mafact.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

thank you!!! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

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

Post by acuellar »

Cuál es mejor? Which is better?

Apache ó IIS?
Saludos,

Adhemar C.
jfl@mafact.com
Posts: 14
Joined: Tue Mar 25, 2008 7:22 pm

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

Post 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
J. Lefebvre
Mafact SA (Belgium)
http://www.mafact.com
User avatar
acuellar
Posts: 1312
Joined: Tue Oct 28, 2008 6:26 pm
Location: Santa Cruz-Bolivia

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

Post by acuellar »

Perfect

Thanks.
Saludos,

Adhemar C.
jfl@mafact.com
Posts: 14
Joined: Tue Mar 25, 2008 7:22 pm

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

Post by jfl@mafact.com »

Antonio Linares wrote:thank you!!! :-)
You are welcome :)
J. Lefebvre
Mafact SA (Belgium)
http://www.mafact.com
jfl@mafact.com
Posts: 14
Joined: Tue Mar 25, 2008 7:22 pm

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

Post 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
J. Lefebvre
Mafact SA (Belgium)
http://www.mafact.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post 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 ;-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply