httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@rowe-clan.net>
Subject Re: [users@httpd] SetEnv Path for CGI scripts Windows XP
Date Sat, 17 Mar 2007 01:51:48 GMT
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:
> 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
>> 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 doesn't change.  Also, if I change the path
>> environment variable in the Windows control panel, and restart apache,
>> apache is still using the old path, which is bizarre.   Any ideas?
>>
>> Rob
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message