Hello ,
I've downloaded from GitHub mod_harbour ( with all sources ) and compiled it ( lib and module ) under Linux ( Ubuntu 20.04 ) .
It seems not working correctly when running a simple prg because apache.prg probably has an error in this code:
if Empty( GetEnv( "GATEWAY_INTERFACE" ) )
QOut( "Attention: This is modharbour CGI version and has to be executed" )
QOut( "from the server as a cgi-bin, i.e.:" )
QOut()
QOut( "http://server_address/cgi-bin/" + SubStr( hb_ArgV( 0 ), RAt( If( lWindows, "\", "/" ), hb_ArgV( 0 ) ) + 1 ) + ;
"?prg=test.prg")
QOut()
QOut( "(c) FiveTech Software 2012-2022" )
QOut( "www.fivetechsoft.com" )
QOut( "https://github.com/FiveTechSoft/mod_harbour" )
QOut()
QUIT
endif
If i comment these lines everything works perfectly .
Bye
Thanks in advance
Error compiling libs
- Antonio Linares
- Site Admin
- Posts: 42727
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 94 times
- Been thanked: 108 times
- Contact:
Re: Error compiling libs
Dear Giuliano,
That code is for mod_harbour CGI version only, so we need to find a way to use it just when it is working as a CGI
What error do you get ? Is QUIT always been called ?
We are going to find a way to fix it
many thanks for your feedback
That code is for mod_harbour CGI version only, so we need to find a way to use it just when it is working as a CGI
What error do you get ? Is QUIT always been called ?
We are going to find a way to fix it
many thanks for your feedback
Re: Error compiling libs
Hi Antonio,
thanks for your quickly answer .
I confirm you that application always QUIT .
Bye
thanks for your quickly answer .
I confirm you that application always QUIT .
Bye