WEB SET ROOT FOLDER

5 views
Skip to first unread message

Pat Bensky

unread,
Apr 18, 2021, 9:30:21 AM4/18/21
to Lightning - 4D Web Applications
I’ve created a Webfolder in my client’s folder and removed it from the default location.
I call

WEB SET ROOT FOLDER([WebServerDefaults]FolderLocation)
 
in the Web_Startup method.

But it doesn’t seem to recognise this folder location. I get a 404 error  when the loginh.l file is requested.

Is there something else I need to do?

Graham Langley

unread,
Apr 19, 2021, 3:29:46 AM4/19/21
to Lightning - 4D Web Applications
The web folder is set using the following, note you don't need a trailing slash;

Ltg_Set("web"; "folder"; Get 4D folder(Database folder)+"WebFolder")  // WEBFOLDER

Reply all
Reply to author
Forward
0 new messages