Xampp Apache BLOCKED

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Xampp Apache BLOCKED

Post by Silvio.Falconi »

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.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xampp Apache BLOCKED

Post by Antonio Linares »

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
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

xampp is 64 bit and the file.so is win64 the same for the dll
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

Now try o erase all and install new xampp 64 bit
pls wait
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xampp Apache BLOCKED

Post by Antonio Linares »

ok, very good...

step by step...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

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

Image

where is the error ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

ok now run


I move loadmodules command at init of file c:\xampp\apache\conf\httpd.conf
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

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 ?
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Xampp Apache BLOCKED

Post by Antonio Linares »

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
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: Xampp Apache BLOCKED

Post by Silvio.Falconi »

yes yes I resolved
I wish init with small and easy prg now I wish search a nice css to use !!
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply