• 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

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