• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

Question Plesk add extra $_SESSION var for uploaden to mount (disk)

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?
 
I think it would be far easier to just mount --bind those upload dirs into your domain directories.
 
Back
Top