Method Context():getDocRoot() Professional

Query the document root.

Syntax
:getDocRoot() --> cRootDirectory
Return

The method returns a character string representing the root directory of the web server.

Description

The method returns a string pointing to the document root directory of the HTTP server. It is identical to the docroot= entry in the configuration file of the gateway (WAA1GATE.CFG).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.