• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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