mod_harbour what to install
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: mod_harbour what to install
Dear Cristobal,
I tried to install but now APACHE is not starting anymore.
What can I check.
Thank you in advance
Otto
I tried to install but now APACHE is not starting anymore.
What can I check.
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
wartiaga wrote:Antonio Linares wrote:It is safe if you know what you are doing
You need some level of expertise to properly manage folders and files permissions and to properly configure Apache
Ok, thank you!
I try with apache and the browser give this error if I type the address http://localhost/modharbour_samples/
Forbidden
You don't have permission to access /modharbour_samples/ on this server.
When i execute httpd:
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd
httpd: Syntax error on line 494 of C:/Program Files/Apache Software Foundation/A
pache2.2/conf/httpd.conf: API module structure 'harbour_module' in file C:/Progr
am Files/Apache Software Foundation/Apache2.2/modules/mod_harbour.so is garbled
- expected signature 41503232 but saw 41503234 - perhaps this is not an Apache m
odule DSO, or was compiled for a different Apache version?
You need to use Apache 2.4, which it is the latest version
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Otto wrote:Dear Cristobal,
I tried to install but now APACHE is not starting anymore.
What can I check.
Thank you in advance
Otto
Dear Otto,
Does it report an error ?
Please check the files that there are here xampp\apache\logs
Re: mod_harbour what to install
Antonio Linares wrote:wartiaga wrote:Antonio Linares wrote:It is safe if you know what you are doing
You need some level of expertise to properly manage folders and files permissions and to properly configure Apache
Ok, thank you!
I try with apache and the browser give this error if I type the address http://localhost/modharbour_samples/
Forbidden
You don't have permission to access /modharbour_samples/ on this server.
When i execute httpd:
C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd
httpd: Syntax error on line 494 of C:/Program Files/Apache Software Foundation/A
pache2.2/conf/httpd.conf: API module structure 'harbour_module' in file C:/Progr
am Files/Apache Software Foundation/Apache2.2/modules/mod_harbour.so is garbled
- expected signature 41503232 but saw 41503234 - perhaps this is not an Apache m
odule DSO, or was compiled for a different Apache version?
You need to use Apache 2.4, which it is the latest version
Thank you Antonio but now i get this error:
C:\Apache2.4\bin>httpd
AH00558: httpd: Could not reliably determine the server's fully qualified domain
name, using fe80::2c75:11f9:8ec:d9f0. Set the 'ServerName' directive globally t
o suppress this message
(OS 10048)Normalmente Ú permitida apenas uma utilizaþÒo de cada endereþo de soqu
ete (protocolo/endereþo de rede/porta). : AH00072: make_sock: could not bind to
address [::]:80
(OS 10048)Normalmente Ú permitida apenas uma utilizaþÒo de cada endereþo de soqu
ete (protocolo/endereþo de rede/porta). : AH00072: make_sock: could not bind to
address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Please go to localhost from your web browser and check if you already have a running server
Re: mod_harbour what to install
Antonio Linares wrote:Please go to localhost from your web browser and check if you already have a running server
Yes, It's work!
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Please post here an image of what you get.
It seems as you already have a running web server so lets identify it
It seems as you already have a running web server so lets identify it
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Antonio Linares wrote:Are you using Windows ? 32 or 64 bits ?
32 bits
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Have you copied mod_harbour.so and libharbour.dll to the locations that I explained here ?
Please go to c:\Apache24htdocs and create a test.prg like this one:
Now from your browser go to localhost/test.prg and let me know what you get
Please go to c:\Apache24htdocs and create a test.prg like this one:
Code: Select all | Expand
function Main()
? "Hello world"
return nil
Now from your browser go to localhost/test.prg and let me know what you get
Re: mod_harbour what to install
Antonio Linares wrote:Have you copied mod_harbour.so and libharbour.dll to the locations that I explained here ?
Please go to c:\Apache24htdocs and create a test.prg like this one:Code: Select all | Expand
function Main()
? "Hello world"
return nil
Now from your browser go to localhost/test.prg and let me know what you get
Antonio if i type hocalhost in browser i get its work! if i type localhost/test.prg i get:
function Main()
? "Hello world"
return nil
- Antonio Linares
- Site Admin
- Posts: 42510
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: mod_harbour what to install
Now you have to edit c:\Apache24\conf\httpd.conf and place these lines:
And restart Apache (or your PC)
Code: Select all | Expand
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
And restart Apache (or your PC)
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: mod_harbour what to install
Hello Antonio,
I get following error:
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
This is what I did:
Attached my server info:
I use WINDOWS 2012R2 64 bit and Apache / 2.4.33 (Win32) OpenSSL / 1.1.0h PHP / 7.2.5
My first question:
If you use Windows 64 then use Apache 64. For Windows 32 use Apache 32.
I downloaded 64 bit version.
1. copy mod_harbour.so to c:\Apache24\modules\
c:\xampp\apache\modules\
2. copy libharbour.dll to c:\Apache24\htdocs\
c:\xampp\htdocs\
3. Edit c:\Apache24\conf\httpd.conf and add these lines:
Code: Select all Expand view
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
after
#LoadModule xml2enc_module modules/mod_xml2enc.so
I inserted
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
4. run c:\Apache24\bin\httpd.exe
But here Apache does not start again.
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
Thank you in advance
Otto
I get following error:
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
This is what I did:
Attached my server info:
I use WINDOWS 2012R2 64 bit and Apache / 2.4.33 (Win32) OpenSSL / 1.1.0h PHP / 7.2.5
My first question:
If you use Windows 64 then use Apache 64. For Windows 32 use Apache 32.
I downloaded 64 bit version.
1. copy mod_harbour.so to c:\Apache24\modules\
c:\xampp\apache\modules\
2. copy libharbour.dll to c:\Apache24\htdocs\
c:\xampp\htdocs\
3. Edit c:\Apache24\conf\httpd.conf and add these lines:
Code: Select all Expand view
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
after
#LoadModule xml2enc_module modules/mod_xml2enc.so
I inserted
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
4. run c:\Apache24\bin\httpd.exe
But here Apache does not start again.
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
Re: mod_harbour what to install
Otto wrote:Hello Antonio,
I get following error:
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
This is what I did:
Attached my server info:
I use WINDOWS 2012R2 64 bit and Apache / 2.4.33 (Win32) OpenSSL / 1.1.0h PHP / 7.2.5
My first question:
If you use Windows 64 then use Apache 64. For Windows 32 use Apache 32.
I downloaded 64 bit version.
1. copy mod_harbour.so to c:\Apache24\modules\
c:\xampp\apache\modules\
2. copy libharbour.dll to c:\Apache24\htdocs\
c:\xampp\htdocs\
3. Edit c:\Apache24\conf\httpd.conf and add these lines:
Code: Select all Expand view
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
after
#LoadModule xml2enc_module modules/mod_xml2enc.so
I inserted
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb)$">
SetHandler harbour
</FilesMatch>
4. run c:\Apache24\bin\httpd.exe
But here Apache does not start again.
Error: Apache shutdown unexpectedly.
15:00:07 [Apache] This may be due to a blocked port, missing dependencies,
15:00:07 [Apache] improper privileges, a crash, or a shutdown by another method.
15:00:07 [Apache] Press the Logs button to view error logs and check
15:00:07 [Apache] the Windows Event Viewer for more clues
15:00:07 [Apache] If you need more help, copy and post this
15:00:07 [Apache] entire log window on the forums
Thank you in advance
Otto
Hi Otto, try to run apache in other port, you can change this in httpd.conf try 8080 port.
- Otto
- Posts: 6403
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 22 times
- Been thanked: 2 times
- Contact:
Re: mod_harbour what to install
Hello,
is your server now running.
Which WINDOWS SERVER do you use.
Can you zip your Apache folder and share with us, please.
Thank you in advance
Otto
is your server now running.
Which WINDOWS SERVER do you use.
Can you zip your Apache folder and share with us, please.
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************