This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
WEB SET ROOT FOLDER
|
WEB SET ROOT FOLDER ( rootFolder ) | ||||||||
Parameter | Type | Description | ||||||
rootFolder | String |
![]() |
Pathname of Web server root folder | |||||
The WEB SET ROOT FOLDER command is used to modify the default root folder where 4D looks for the HTML files requested of the Web server.
This command does not take the default root folder that may have been set in the Database Settings into account. For more information about this folder, please refer to the Connection Security section.
The location of the root folder can be expression either in HTML syntax (URL type), or in system syntax (absolute path):
Notes:
If you specify an invalid pathname, an OS File manager error is generated. You can intercept the error with an ON ERR CALL method. If you display an alert or a message from within the error method, it will appear on the browser side.
Product: 4D
Theme: Web Server
Number:
634
Modified: 4D v11 SQL
Renamed: 4D v13 (SET HTML ROOT)
4D Language Reference ( 4D v20 R7)