Re: CGI help

new topic     » goto parent     » topic index » view thread      » older message » newer message
GeorgeWalters said...

Well, I have my first CGI program running when launching from Crimson editor, but when I launch it from IE it fails because it can't find any includes. Apparently the env vars can't be located. Can someone explain?

example: include lib/ic/tables.e

EUINC is 'C:\AcuTrack' where the lib resides

Apache runs in it's own console, therefore it has it's own environmental variables... If you issue SET EUDIR=C:\Euphoria in a console, then click Start>Programs>Apache>Server, it will not have the EUDIR environmental variable. What you need to do is set EUDIR in the Control Panel > System > Advanced Settings. Set it as a system wide environmental variable.

If that does not work, then you will have to revert to Apache's mod_env, which sets environmental variables in each session that is spawned by Apache.

Jeremy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu