[EMAIL PROTECTED] SetEnv Path for CGI scripts Windows XP

2007-03-16 Thread Robert Nikander
Hi, I'm running Apache 2.2 on Windows, and I'm trying to run some CGI scripts. They appear to be failing because the path environment variable isn't set right. When I put SetEnv Path c:\somedir in an .htaccess file, apache appears to ignore it. The path var that gets passed to cgi scripts

Re: [EMAIL PROTECTED] SetEnv Path for CGI scripts Windows XP

2007-03-16 Thread William A. Rowe, Jr.
See running apache for windows 'as a service' and the -n config option. It retains this information (startup flags) in the registry. Robert Nikander wrote: Hi, I'm running Apache 2.2 on Windows, and I'm trying to run some CGI scripts. They appear to be failing because the path environment

Re: [EMAIL PROTECTED] SetEnv Path for CGI scripts Windows XP

2007-03-16 Thread William A. Rowe, Jr.
Sorry, I misread your question. Apache uses the path info of the user that the Apache Service will 'run as' and the systemwide path. Note that system path changes will only affect services after a system reboot. You cannot use SetEnv for the purpose you stated. William A. Rowe, Jr. wrote: