DOCUMENT_ROOT

The DOCUMENT_ROOT element specifies the document root directory - the root of documents when the Genero Application Server is used as a Web server (for searching CSS, JavaScriptâ„¢, and other files). The default directory is $FGLASDIR/web.

When a Web server is included in the solution architecture, this directory is not relevant, and the Web server document root directory is referenced. This directory is often called htdocs for the Apache Web server or C:\Inetpub\wwwroot for IIS.

Usage example

<DOCUMENT_ROOT>/usr/fgl2c/as/web</DOCUMENT_ROOT>

In this usage example, if you have the demos.html file in this directory and wish to access the file, use the URL: http://<app_server>:<port>/demos.html (where the file is on the host where the GAS resides) or http://<web_server>/gas/demos.html (where the file is on the Web server host)