Hello,
I know it's not a technical forum, but since it's official, it can maybe concern more user than just only me.
I am using a special configuration for my Directadmin server. To make it short, I do run PHP4/5 for my customers using suPHP 0.6.2 and Apache 2.
Each user get a 2 php.ini file (one for PHP4, one for PHP5) and when the user upload some file it get's stored in /home/username/tmp (this directory is chmod 777).
My problem is that when a user use the webmail and try to attach a file to a mail (which means it's at uploaded somewhere) it doesn't work because they do access the webmail thru an alias /webmail make an alias to each user to /var/www/html/roundcube and so the upload doesn't work (no error on screen).
I have tried to change the path /temp with a full-path variable in the roundcube configuration, but it doesn't work better.
Code:
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = 'temp/';
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/tmp/';
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/tmp';
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/var/www/html/roundcube/temp';
// use this folder to store temp files (must be writebale for apache user)
$rcmail_config['temp_dir'] = '/var/www/html/roundcube/temp/';
Doesn't work at all. But when I do access it thru no alias it works fine, for e.g. I do type the
http://IP/roundcube/ it works fine.
I can still make a workaround that does forward the alias to the real url, but maybe I can also find a better way to do it ?
Thank you for any help !