• 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

cross-sub-domain include path

janjoh

New Pleskian
Hello!

I am trying to migrate an old website to my Plesk instance

On the old system it was divided into two domains.

galleri.domain.net

and

gallerimaster.domain.net


galleri.domain.net used include_path to be able to read from gallerimaster.domain.net but this i cannot get working under plesk.

I have a website (domain.net)

under it i have created two subsites (galleri) and (gallerimaster)

In the config for galleri i have changed "include_path"

/var/www/vhosts/domain.net/gallerimaster.domain.net/web:.

and yet it flunks with

[Sat Jan 24 11:45:03.768865 2015] [:error] [pid 16581] [client 213.114.166.188:54442] PHP Fatal error: require(): Failed opening required '/var/www/vhosts/domain.net/gallerimaster.domain.net/web/main.php' (include_path='/var/www/vhosts/domain.net/gallerimaster.domain.net/web:.') in /var/www/vhosts/domain.net/galleri.domain.net/web/main.php on line 3, referer: http://galleri.domain.net/

I have various combinations of open_basedir and include_path, but i cannot seem to make plesk let me include files from another subdomain

I am the server admin for the Plesk instance.
 
Back
Top