The [web_request->documentRoot] method returns the path to the web-root of the server.
web_request->documentRoot
The following code will display the path to the server's web-root. For this example, we'll assume that the default web-root for Mac OS X.
Code
web_request->documentRoot
Result
/Library/WebServer/Documents
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments