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
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