Error con XAMP en Windows...mod_harbour.so

mod_harbour es un módulo para Apache que permite correr tus PRGs directamente en la web!!!

Error con XAMP en Windows...mod_harbour.so

Postby csincuir » Wed Jan 22, 2020 6:50 pm

Hola a todos.
Siguiendo los pasos de instalación en Windows con Xamp, de mod_harbour, que indica Antonio, me salio este mensaje de error:

Code: Select all  Expand view  RUN
c:\Apache24\htdocs\libharbour.dll
No se puede encontrar el módulo especificado.

Buscando donde está esta llamada al c:\Apache24\.. la misma se encuentra en "mod_harbour.so", por lo que tuve que crear la carpeta "C:\Apache24\htdocs\" y le copie el archivo "libharbour.dll" y listo, ahí si funciono.

Solo para que lo tengan presente y si se puede revisar esa linea en el archivo "mod_harbour.so"

Saludos cordiales.

Carlos.
csincuir
 
Posts: 408
Joined: Sat Feb 03, 2007 6:36 am
Location: Guatemala

Re: Error con XAMP en Windows...mod_harbour.so

Postby Antonio Linares » Wed Jan 22, 2020 6:55 pm

Carlos,

Explicado aquí:
https://github.com/FiveTechSoft/mod_harbour/tree/master/windows

If you are using Xampp on Windows then use SetEnv like this from httpd.conf:

LoadModule harbour_module modules/mod_harbour.so

<FilesMatch "\.(prg|hrb)$">
SetEnv LIBHARBOUR "c:\xampp\htdocs\libharbour.dll"
SetHandler harbour
</FilesMatch>
regards, saludos

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

Re: Error con XAMP en Windows...mod_harbour.so

Postby csincuir » Wed Jan 22, 2020 9:16 pm

Hola Antonio.
Es correcto, yo tenía de esta forma la linea:
SetEnv LIBHARBOUR "c:\xampp\htdocs"

Me faltaba colocarle el nombre de la dll:
SetEnv LIBHARBOUR "c:\xampp\htdocs\libharbour.dll"

Asi, si funciona correctamente, gracias.
Ya estoy empezando a conocer las bondades de mod_harbour

Saludos cordiales.

Carlos Sincuir
csincuir
 
Posts: 408
Joined: Sat Feb 03, 2007 6:36 am
Location: Guatemala

Re: Error con XAMP en Windows...mod_harbour.so

Postby damianodec » Sun Jan 26, 2020 5:42 pm

Hi Antonio,
In github you racommend this:
Recommended settings are:

c:\mod_harbour (created using git clone https://github.com/fivetechsoft/mod_harbour)

At c:\Apache24\htdocs create these symlinks: (run cmd as administrator)

mklink /j modharbour_samples c:\mod_harbour\samples

mklink /h libharbour.dll c:\mod_harbour\windows\win64\libharbour.dll

From the browse go to localhost/modharbour_samples

When you want to update mod_harbour, simply go to mod_harbour and do a git pull


I done it and if I put test.prg in C:\xampp\htdocs and then http://localhost:81/test.prg it works (I use port 81) but if go to the browse to
localhost:81/modharbour_samples I get:
OBJECT NOT FOUND
ERROR 404

any help?
thank you.
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia

Re: Error con XAMP en Windows...mod_harbour.so

Postby Antonio Linares » Mon Jan 27, 2020 3:43 pm

Please connect to mod_harbour users live chat at https://app.slack.com/client/TJH5YU202/CJUHF8SBX
and post your question there, thanks
regards, saludos

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

Re: Error con XAMP en Windows...mod_harbour.so

Postby damianodec » Mon Jan 27, 2020 4:26 pm

thank you antonio
FiveWin for xHarbour 17.09 - Sep. 2017 - Embarcadero C++ 7.00 for Win32
FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)
Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
User avatar
damianodec
 
Posts: 419
Joined: Wed Jun 06, 2007 2:58 pm
Location: Italia


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 13 guests