• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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