The following lines introduce a new bug. Try it. If you leave the application folder as is the value of gAPPPATH is:
/path/to/system//path/to/system/application/
so, for a bug fix I suggest to replace line 110 of index.lc of the current release, the line which says
```
put gBASEPATH & gApplicationFolder & "/" into gAPPPATH
```
with
```
# CHECK IF USER SET A FULL SERVER PATH
if (byte 1 of gApplicationFolder is not "/") and (byte 1 to 2 of gApplicationFolder is not "\\") then
  # IT IS A RELATIVE PATH, SO WE PREPEND THE BASE PATH
  -- constant APPPATH = BASEPATH & gApplicationFolder & "/"
  put gBASEPATH & gApplicationFolder & "/" into gAPPPATH
else
  # SWAP DIRECTORY SEPARATORS TO UNIX STYLE FOR CONSISTENCY
  replace "\\" with "/" in gApplicationFolder
  put gApplicationFolder & "/" into gAPPPATH
end if
```