I’m having a bit of an issue getting this to work properly.
On a Mediatemple DV 3.0 server I have the following setup:
Site 1: testsite.com
EE and MSM installed at: testsite.com/system/
vhosts.conf contains:
<Directory "/var/www/vhosts/testsite.com/httpdocs">
php_admin_value open_basedir none
php_admin_value safe_mode off
</Directory>
Seems to be working great.
Site 2: new.othersite.com
path.php contains:
<?php
// ------------------------------------------------------
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
// ------------------------------------------------------
// Path to the directory containing your backend files
$system_path = "/var/www/vhosts/testsite.com/httpdocs/system/";
$site_name = "newsite";
// ------------------------------------------------------
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
// ------------------------------------------------------
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
$site_404 = "";
$global_vars = array(); // This array must be associative
?>
vhosts.conf contains:
<Directory "/var/www/vhosts/othersite.com/subdomains/new/httpdocs">
php_admin_value open_basedir none
php_admin_value safe_mode off
</Directory>
Site 2 Displays:
The system path does not appear to be set correctly. Please open your path.php file and correct the path.
I’ve gone through this post a few times. I’m fairly handy with the terminal and was able to properly use the websrvmng command and restart apache.
Can anyone provide any insight? Is it because I’m going straight to a subdomain with Site 2? All of the posts above seem to suggest that the second site is within the same domain as the first site. Is there a “more global” vhosts.conf that can be set?
Any help is greatly appreciated!