• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

23 Subdomains, one set of program files... how do I do this?

S

SarahK

Guest
I'm just migrating a site from hosting company A to hosting company B.

I talked the new hosting company through the issues but they didn't flag some of the problems. The big show stopper for me at the moment is that I have my app uploaded (above httpdocs, eeeuw) but when I ask my subdomain index.php to include the files I get
Code:
Warning: require() [function.require]: open_basedir restriction in effect. File(/var/www/vhosts/mysite.org/httpdocs/mysite/cake/bootstrap.php) is not within the allowed path(s): (/var/www/vhosts/mysite.org/subdomains/members/httpdocs:/tmp) in /var/www/vhosts/mysite.org/subdomains/members/httpdocs/index.php on line 86

The app is constantly evolving and migrating code 23 times for every change will be onerous and fraught. So, how do I avoid having 23 versions of the application?

Additionally the content is maintained by users through one maintenance subdomain but displayed in another.
Until now they've been able to upload images, files etc through the first subdomain yet serve it as though it were from their public subdomain.

The error I'm seeing above seems to indicate that the content of one subdomain is discrete to that subdomain and not available to the others? Is that right or have I missed something?
 
Back
Top