4.6 Location of the LANSA System (Linux)

On Linux servers, the location of the LANSA system is determined by the LANSAXROOT entry in the jsmdirect.cfg file. The entries in the jsmdirect.cfg file are be used to define environment variables before the x_run program is executed.

 

LANSAXROOT=/lansa

 

This entry was created when JSMDirect was installed.

If the HTTP Server uses authentication then the x_run parameter USER will be defined following the rules:

 

if the env variable USER_NAME is defined then

   the value of USER_NAME will be passed on to x_run

else if the env variable REMOTE_USER is defined then

   the value of REMOTE_USER will be passed on to x_run

else

   x_run will be called without defining the parameter USER

   i.e. The user defined in x_lansa.pro will be used