Re: how to set env variables?

2004-05-11 Thread Reynard Hilman
I think I figured it out now, I set it from the httpd.conf like this SetEnv VAR "Value" and restart the apache, now it works. thank you all for the suggestions, - reynard Charles K. Clarkson wrote: Reynard Hilman <[EMAIL PROTECTED]> wrote: : : I have a perl script that runs just f

how to set env variables?

2004-05-10 Thread Reynard Hilman
Hi, I have a perl script that runs just fine from command line but not when I run it as cgi. I think it's because there are some env variables that doesn't exist when I run it as cgi. Is there a way to set the variables from the perl script? I tried $ENV{'VAR'} = 'value'; but it doesn't make a d