Re: Installing Euphoria for CGI

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu