• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

vhost.conf file configuration and issues

M

Miracle Wanzo

Guest
We have a DV at mediatemple running plesk 8.6

I have two domains that I want to use a shared drupal installation.

DomanA is where drupal is actually installed, domainB is the additional domain that needs to use that install

Following the instructions the vhost.conf file needs to be modified to point to the document root directory of DomainA

followed all the instructions to get it set up and working, with the following line:

DocumentRoot /var/www/vhosts/domainA.com/httpdocs


I can pull up any static file just fine. However, when i need to call a php file:

domainB.com/index.php

it downloads the file instead of executing it

checked permissions, they are fine

Does anyone know what the problem is
 
exact same issue.

hi
i'm having the same issue. am trying to make domain access module work.
did you ever figure this out??
thanks much!
:)
m
 
hi,
got it working, if you're interested.

DomainA = New
DomainB = Old

in addition to the DocumentRoot noted above, i had to add:
<Directory /PATH/TO/NEW/DIRROOT/>
php_admin_value open_basedir "/PATH/TO/NEW/DIRROOT:/tmp:/PATH/TO/OLD/DIRROOT"
php_admin_flag engine on
php_admin_flag safe_mode off
</Directory>

it was the open_basedir with both paths that finally made it work.
best,
m
 
Back
Top