Re: CGI and Environment Variables

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

I think I understand what you're saying. These are environmental vars that are set in windows control panel>>system>>advanced>>environmental variables. I use them to for info needed by the running program. However my cgi script programs can't get to them apparently.

George,

If that is the case then Apache is launching the CGI in a sub-process, not a full shell. You are going to have to revert to using mod_env with Apache. On windows, when I develop, I use Abyss web server, just because it's a lot easier to setup. With it, there is a web control panel and it allows you to set environmental variables for the CGI processes. mod_env will do the same thing. I do not know how to use mod_env, I just know of it's existence and purpose, otherwise I would give you detailed info on how to set it up. Sorry.

Jeremy

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

Search



Quick Links

User menu

Not signed in.

Misc Menu