1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

one document root for several users

Discussion in 'Plesk for Linux - 8.x and Older' started by Skid00, Aug 4, 2005.

  1. Skid00

    Skid00 Guest


    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!