Re: [users@httpd] Change TMP dir

2016-05-24 Thread Paolo Giammarco
Ops I tried so also: sudo TMP=/newtmp apachectl start apache start but always writes in /tmp *Rispetta l'ambiente. Non stampare questa mail se non è necessario.* 2016-05-24 10:56 GMT+02:00 Paolo Giammarco : > Thanks for the reply. > > I do not have the LD_LIBRARY_PATH in envvars files but

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Paolo Giammarco
I tried so also: sudo TMP=/newtmp apachectl apache start but always writes in /tmp *Rispetta l'ambiente. Non stampare questa mail se non è necessario.* 2016-05-24 10:56 GMT+02:00 Paolo Giammarco : > Thanks for the reply. > > I do not have the LD_LIBRARY_PATH in envvars files but I commented

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Paolo Giammarco
Thanks for the reply. I do not have the LD_LIBRARY_PATH in envvars files but I commented out APACHE_RUN_USER and APACHE_RUN_GROUP, and Apache did not start. Then the file is the right one *Rispetta l'ambiente. Non stampare questa mail se non è necessario.* 2016-05-24 10:18 GMT+02:00 Nick Kew

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Marat Khalili
One other thought. If the proxy's backend supports HTTP/1.1 then there's no reason to spool any tempfile in the first place. Check out proxy-sendchunked vs proxy-sendcl in the docs. I'd also check if it's Apache creating temporary files and not user agent. E.g. Windows WebClient may do it. --

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Nick Kew
On Tue, 2016-05-24 at 05:45 +0200, Paolo Giammarco wrote: > I configured apache as a reverse proxy, and when I do an upload it > writes in the /tmp directory but is too small. One other thought. If the proxy's backend supports HTTP/1.1 then there's no reason to spool any tempfile in the first pla

Re: [users@httpd] Change TMP dir

2016-05-24 Thread Nick Kew
On Tue, 2016-05-24 at 05:45 +0200, Paolo Giammarco wrote: > I configured apache as a reverse proxy, and when I do an upload it > writes in the /tmp directory but is too small. OK, what you originally tried with envvars should work. Either your syntax is at odds with the shell, or you've edited the

Re: [users@httpd] Change TMP dir

2016-05-23 Thread Paolo Giammarco
I configured apache as a reverse proxy, and when I do an upload it writes in the /tmp directory but is too small. *Rispetta l'ambiente. Non stampare questa mail se non è necessario.* 2016-05-23 22:29 GMT+02:00 Nick Kew : > On Mon, 23 May 2016 15:28:29 +0200 > Paolo Giammarco wrote: > > > Hell

Re: [users@httpd] Change TMP dir

2016-05-23 Thread Nick Kew
On Mon, 23 May 2016 15:28:29 +0200 Paolo Giammarco wrote: > Hello to all. > Should I change the default temporary directory (/tmp) using apache > but I can not. In what context is /tmp being used? If it's something like CGI, they don't get the server's environment, as that could be a big securi

[users@httpd] Change TMP dir

2016-05-23 Thread Paolo Giammarco
Hello to all. Should I change the default temporary directory (/tmp) using apache but I can not. I tried to edit the file /etc/apache2/envvars adding: export TMPDIR=/newtmp export TMP=/newtmp but no, I modified /etc/init.d/apache2 adding: ENV = "$ENV TMPDIR=/newtmp TMP=/newtmp" still nothing.