Page 1 of 1

How to get root path of Apache

PostPosted: Sat Jul 30, 2022 8:00 am
by Otto
Dear Antonio,
can you also read the root path of Apache?
Kind regards,
Otto

Re: How to get root path of Apache

PostPosted: Sat Jul 30, 2022 8:40 am
by Otto
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

Re: How to get root path of Apache

PostPosted: Sat Jul 30, 2022 5:26 pm
by Antonio Linares
very good :-)