httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] setting mod_fcgid tmp directory?
Date Tue, 04 Oct 2011 13:44:11 GMT
On Tue, Oct 4, 2011 at 9:22 AM, startx <startx@plentyfact.org> 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@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