• 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

one document root for several users

S

Skid00

Guest
Hi!

I wrote a cms and want to use it under plesk.
I want to keep just one copy of the scripts on the server. All cms-users ( = Plesk-Users with own domains) should have their user directory (with quota) and access to the cms-scripts.

Access should look like this:

www.domain1.com -> /path/to/cms/index.php?user=doman1
www.domain2.com -> /path/to/cms/index.php?user=doman2

with the userdata dirs:

/path/to/domain1.com/httpdocs/images (etc.)
/path/to/domain2.com/httpdocs/images (etc.)

Should i manage it by including the cms-directory in openbasedir and redirecting with htaccess?

Thanks for help!

Skid00
 
Back
Top