Xampp Apache BLOCKED

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

Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 8:04 am

I have the apache blocked when I insert on file c:\xampp\apache\conf\httpd.conf

LoadModule harbour_module modules/mod_harbour.so

Image


How I can resolve ?

the apache on my server run ok because I use each day Wordpress sites or another php prgs
Last edited by Silvio.Falconi on Wed Nov 06, 2019 8:07 am, edited 1 time in total.
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Antonio Linares » Wed Nov 06, 2019 8:06 am

Dear Silvio,

Please check that you are using the same bits for the apache and the mod_harbour version

If Apache is 32 bits, then use mod_harbour 32 bits...

same for 64 bits...
regards, saludos

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

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 8:11 am

xampp is 64 bit and the file.so is win64 the same for the dll
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 8:17 am

Now try o erase all and install new xampp 64 bit
pls wait
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Antonio Linares » Wed Nov 06, 2019 8:33 am

ok, very good...

step by step...
regards, saludos

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

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 9:06 am

Antonio,
Now the apache is run but when I load a prg sample eshop I see the source code

Image

where is the error ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 9:17 am

ok now run


I move loadmodules command at init of file c:\xampp\apache\conf\httpd.conf
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 9:42 am

but sometimes there is this error

Image

Error: Can't open #include file 'hbclass.ch'
called from: ../../../apache.prg, (b)MAIN, line: 50
called from: __PP_PROCESS, line: 0
called from: ../../../apache.prg, EXECUTE, line: 110
called from: ../../../apache.prg, MAIN, line: 61

why ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Postby Antonio Linares » Wed Nov 06, 2019 10:12 am

Silvio,

At the top of your PRG use this:

// {% hb_SetEnv( "HB_INCLUDE", "c:\harbour\include\" ) %}

so mod_harbour knows where your header files are
regards, saludos

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

Re: Xampp Apache BLOCKED

Postby Silvio.Falconi » Wed Nov 06, 2019 5:06 pm

yes yes I resolved
I wish init with small and easy prg now I wish search a nice css to use !!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7061
Joined: Thu Oct 18, 2012 7:17 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 4 guests

cron