How to get root path of Apache

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!
Post Reply
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

How to get root path of Apache

Post by Otto »

Dear Antonio,
can you also read the root path of Apache?
Kind regards,
Otto
User avatar
Otto
Posts: 7020
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Re: How to get root path of Apache

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 44515
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: How to get root path of Apache

Post by Antonio Linares »

very good :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply