[rt-users] Temporary directory for uploaded file when creating a ticket

Luca Villani luca.villani at dada.net
Wed Aug 10 07:16:42 EDT 2011


In data giovedì 4 agosto 2011 17:15:38, hai scritto:


> > Depending on your version of RT, it uses HTML::Mason's cgi_object,
> > which is often CGI.pm, and that should respect TMPDIR
> 
> We had upgrade yesterday to RT 4.0.1, this is the relevand section in
> apache config:
> 
> <Location />
>     Order allow,deny
>     Allow from all
>     SetEnv TMPDIR /www/COMMON/tmp
>     SetHandler perl-script
>     PerlResponseHandler Plack::Handler::Apache2
>     PerlSetVar psgi_app /opt/rt/rt-4.0.1/sbin/rt-server
> </Location>
> 
> <Perl>
>     use Plack::Handler::Apache2;
>     Plack::Handler::Apache2->preload("/opt/rt/rt-4.0.1/sbin/rt-server");
> </Perl>
> 
> 
> SetEnv appears also at virtualhost definition, with no results.

No one can give us a feedback about this?

As far as RT store web loaded ticket attachments in /var/tmp, there is no 
chance to clusterize an installation: it is ok to use a NFS shared directory 
for tmpdir so all webserver in cluster can find attach even in case the 
balancer move the connection from one server to other, but it is not 
acceptable to mount the entire /var/tmp from a filer...


-- 
Luca Villani     -      Register.It S.p.A. - Dada Group

Tel: +39 055 20021517   Mobile: +39 335 8753086
ICQ: 76272621           Skype: luca.villani



More information about the rt-users mailing list