Re: SetEnv Path for CGI scripts Windows XP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
>>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
>> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>>
>>
>>
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux