Multisite - system location and access
Posted: 01 October 2007 11:26 AM   [ Ignore ]  
Summer Student
Total Posts:  3
Joined  09-25-2007

Installing EE is easy and done.

My question is for the multisite system folder access

we have EE installed on domainA

/home/domainA/public_html/EE (/system)

and a second domain to use EE

/home/domainB/public_html/ (and copied index.php and path.php to here)

Now I understand that the path for domain B need to point to domainA’s system folder but what is the best way to do this? symbolic link or absolute URI?

Profile
 
 
Posted: 01 October 2007 06:41 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  12416
Joined  04-29-2002

Welcome to the ExpressionEngine forums, db5.

Now I understand that the path for domain B need to point to domainA’s system folder but what is the best way to do this? symbolic link or absolute URI?

It depends on how you have things set up.

Are domainA and domainB on the same server? Who is your webhost?

I use MediaTemple GS for some of my domains. In that case, I’ve done something like this:

$system_path = "/home/1234/domains/domaina.com/html/system/"

1234 is the number of my MediaTemple GS account, and domaina.com is the first domain.

So how are you set up?

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Profile
MSG
 
 
Posted: 02 October 2007 08:41 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  3
Joined  09-25-2007

I tried that and get the “system path not found” message. That is the file structure (/home/domainA/public_html/EE/system) I believe the webserver will not allow access below the public_html dir. I tried placing a sym link in the domainB /public_html that linked to the /home/domainA/public_html/EE/system,  which worked but I am looking for the best/correct way as we will be implementing numerous site with EE.

we are hosted on a dedicated server (we have total access) with totalchoice hosting

Thanks

Profile
 
 
Posted: 02 October 2007 09:24 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  3
Joined  09-25-2007

Found a solution,

on our server the account is jail to dir’s specified in the httpd.conf

php_admin_value open_basedir “/home/domainB:/usr/lib/php:/usr/local/lib/php:/tmp”

you need to add the absolute path to the system dir to each account you want to access the system folder on the EE installed account.

php_admin_value open_basedir “/home/domainB:/usr/lib/php:/usr/local/lib/php:/tmp:/home/domainA/public_html/EE/system/

Profile
 
 
Posted: 02 October 2007 09:28 AM   [ Ignore ]   [ # 4 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  23538
Joined  05-20-2002

Hm- wouldn’t have thought of that one- I usually go the multi-hosted route via cpanel, which handles it for me.  But this is a nice ‘heads up’ for the more server inclined.  Thanks for sharing the solution.

 Signature 

AKA rob1

Help Request TipsPro Network

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 65026 Total Logged-in Users: 41
Total Topics: 82116 Total Anonymous Users: 21
Total Replies: 441309 Total Guests: 192
Total Posts: 523425    
Members ( View Memberlist )
Newest Members:  meenoiYang.JianuoioitsukiNathan HammondalexcigadamstaneckiLucas Mayscybermilltstitt