• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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