Re: Installing Euphoria for CGI
- Posted by Robert Craig <rds at RapidEuphoria.com> Jan 23, 2007
- 653 views
cklester wrote: > What would I do if I don't want to clutter up my root htdocs directory with > the standard Euphoria includes? That is, when I > > include misc.e > > it will find it in > > euphoria/include/ > > I know I have to set up an environment variable, but I don't know exactly > what to do for Linux/BSD. Rob? :) The system process that runs your CGI program will not be owned by you, so it won't use your personal environment variables, such as EUDIR or EUINC. If you own the machine (have root access) I guess you could set a system-wide environment variable for EUDIR. I don't own the RapidEuphoria or ListFilter machines, so I just stick any needed include files in the same (cgi-bin) directory as my main cgi file. (Or the include statement could have a hard-coded path to the euphoria/include directory, wherever it is.) Maybe someone else has a better way of doing things. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com