• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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