mod_harbour FAQ
Posted: Mon Jul 29, 2019 7:12 am
1. What is mod_harbour ?
mod_harbour is an extension module for Apache that allows you to run PRGs directly on the web, without having to build EXEs, etc.
You simply install mod_harbour on an Apache server (running locally on your computer or on a remote PC) and you start running your PRGs on the web !!!
Next, you need to understand how to develop web apps but, don't worry, we provide lots of examples so you can quick start using it
Please review this live demo built using mod_harbour (pure Harbour!)
https://harbour.fourtech.es/modharbour_ ... /index.prg
Finally, mod_harbour is totally free and open source. Wow !!!
2. Where to download it from ?
https://github.com/FiveTechSoft/mod_harbour
3. How to install it ?
1. Copy this mod_harbour.so to c:\xampp\apache\modules
https://github.com/FiveTechSoft/mod_har ... harbour.so
2. Copy this libharbour.dll to c:\xampp\htdocs
https://github.com/FiveTechSoft/mod_har ... arbour.dll
3. Add these lines to the bottom of c:\xampp\apache\conf\httpd.conf
4. Create a test.prg at c:\xampp\htdocs:
5. From your browser go to localhost/test.prg
mod_harbour is an extension module for Apache that allows you to run PRGs directly on the web, without having to build EXEs, etc.
You simply install mod_harbour on an Apache server (running locally on your computer or on a remote PC) and you start running your PRGs on the web !!!
Next, you need to understand how to develop web apps but, don't worry, we provide lots of examples so you can quick start using it
Please review this live demo built using mod_harbour (pure Harbour!)
https://harbour.fourtech.es/modharbour_ ... /index.prg
Finally, mod_harbour is totally free and open source. Wow !!!
2. Where to download it from ?
https://github.com/FiveTechSoft/mod_harbour
3. How to install it ?
1. Copy this mod_harbour.so to c:\xampp\apache\modules
https://github.com/FiveTechSoft/mod_har ... harbour.so
2. Copy this libharbour.dll to c:\xampp\htdocs
https://github.com/FiveTechSoft/mod_har ... arbour.dll
3. Add these lines to the bottom of c:\xampp\apache\conf\httpd.conf
Code: Select all
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetEnv LIBHARBOUR "c:/xampp/htdocs"
SetHandler harbour
</FilesMatch>
Code: Select all
function Main()
? "Hello world"
return nil