dataconnect
New Pleskian
I have added a new disk and setup a mount in linux. Everything is working and I can write files in linux to the disk.
The thing is.
There is a $_SESSION var that is called HOME. it's pointing to the home dir of the domain (its working fine). In my home dir I have the uploads directory. So that it is outside httpdocs. So far so good.
However de disk is almost full so I want to move every upload dir to the new disk.
the idea;
$_SESSION['UPLOADS'] > /mnt/VHOST/
/mnt/domain-example1/
/mnt/domain-example2/
/mnt/domain-example3/
/mnt/domain-example4/
Is there a way to get that working per domain php or apache?
The thing is.
There is a $_SESSION var that is called HOME. it's pointing to the home dir of the domain (its working fine). In my home dir I have the uploads directory. So that it is outside httpdocs. So far so good.
However de disk is almost full so I want to move every upload dir to the new disk.
the idea;
$_SESSION['UPLOADS'] > /mnt/VHOST/
/mnt/domain-example1/
/mnt/domain-example2/
/mnt/domain-example3/
/mnt/domain-example4/
Is there a way to get that working per domain php or apache?