<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hi,<br><br>In my linux debian machine, always it restart the system erase contents temporary directory: /tmp.<br><br>My chameleon application have imagepath and imageurl to this location. I change this location to /tmpgis, and i put a alias into apache to this new directory. But when i run my application, it ties to put/read images in /tmp.<br><br>My question is: Is chameleon formed to work with system temporary directory (/tmp)?. Where i need to do changes for change the temporary directory for chameleon?<br><br>This was the procedure in linux console:<br><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;">cd /</p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="PT-BR">mkdir
 tmpgis<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="EN-US">cd /tmpgis<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="EN-US">mkdir ms_tmp<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="EN-US">cd ..<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="PT-BR">chown -R www-data:www-data
/tmpgis<o:p></o:p></span></p><p class="MsoNormal" style="margin-left: 40.56pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="PT-BR">chmod 777 -R /tmpgis<o:p></o:p></span></p><br>I did changes in apache (put the alias) in this file: <span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;">/etc/apache2/sites-enabled/000-default.conf (this is the correct place or in httpd.conf?)<br></span>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;"><span style="" lang="EN-US">Alias /ms_tmp/ “/tmpgis/ms_tmp/”<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;"><span style="" lang="EN-US">&lt;Directory "/tmpgis/ms_tmp/"&gt;<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>Options
Indexes FollowSymLinks Multiviews<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify; text-indent: 17.4pt;"><span style="" lang="EN-US">AllowOverride None<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;"><span style="" lang="EN-US"><span style="">&nbsp;&nbsp;
</span><span style="">&nbsp;</span><span style="">&nbsp; </span>Order
allow,deny<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;"><span style="" lang="EN-US"><span style="">&nbsp;
</span><span style="">&nbsp;&nbsp;&nbsp; </span>Allow from all<o:p></o:p></span></p>

<p class="MsoNormal" style="margin-left: 47.76pt; text-align: justify;">&lt;/Directory&gt;</p>

<br>And restart apahce: <span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;" lang="FR">/etc/initd.d/apache2 restart<br><br>Thanks<br><br>Alexys H<br></span></div><br>



      <hr size=1><br><font face="Verdana" size="-2">Enviado desde <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html">Correo Yahoo!</a><br>La bandeja de entrada más inteligente.<br></font></body></html>