FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour How to get root path of Apache
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
How to get root path of Apache
Posted: Sat Jul 30, 2022 08:00 AM

Dear Antonio,
can you also read the root path of Apache?
Kind regards,
Otto

Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: How to get root path of Apache
Posted: Sat Jul 30, 2022 08:40 AM
Dear Antonio,

I have found the solution.

? 'AP_GetEnv( "DOCUMENT_ROOT" ) '
? AP_GetEnv( "DOCUMENT_ROOT" )

We should rather take advantage of the generosity of FIVETECH that we can see the source code everywhere.

I have found the functions here:

https://github.com/FiveTechSoft/mod_harbour
mod_harbour-master\source\paths.prg

Best regards,
Otto
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to get root path of Apache
Posted: Sat Jul 30, 2022 05:26 PM

very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion