Re: setting mod_fcgid tmp directory?

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

 



On Tue, Oct 4, 2011 at 9:22 AM, startx <startx@xxxxxxxxxxxxxx> wrote:
>> > On Fri, 30 Sep 2011 01:30:14 -0700
>> > Wade Evans  wrote:
>> >
>> >> what happens when you set "TEMP"?
>> >>
>> >> -w
>> >
>> > unfortunately that doesn't do anything either, still
>> > fcgid creates  /tmp/fcgid.XXXX
>>
>>
>> apr tries for a writable temp dir in this order -- sure you had the
>> native envvar set?
>>
>>     const char *try_envs[] = { "TMPDIR", "TMP", "TEMP"};
>>     const char *try_dirs[] = { "/tmp", "/usr/tmp", "/var/tmp" };
>
> sorry late reply.
>
> i am not sure what you mean by native envvar, as i try to
> set different tmp pathes for different vhosts, or maybe i
> misunderstand what you mean.
>
> i tried SetEnv with "TMPDIR" "TMP" and "TEMP" in the vhost
> and all of them seem to be ignored.
>

I don't think those will work, they need to be set as real environment
variables outside of httpd (e.g. bin/envvars file or exported before
calling apachectl)

---------------------------------------------------------------------
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