• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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