Comments (10)
I second this. My second site just brings up the default site. If anyone has gotten this to work, I'd love to hear...
from ee-master-config.
I would love to see this set up for MSM as well
from ee-master-config.
I would also like this to be available, as well as an explanation of how a load balanced environment may affect the setup.
from ee-master-config.
I too would like to see this.
from ee-master-config.
Anybody had any luck with this?
from ee-master-config.
@alexball I replied to your email a couple of days ago. Can you confirm that you received it?
from ee-master-config.
Anyone here willing to share what you did to get this working with MSM?
from ee-master-config.
Jesse,
The easiest way to setup msm with this config is to keep each site's "public" directory at the same level. So your mail site' "public_html" (or equivalent) would be a directory sibling to your other sites' similar directory.
/config
/public_html (main site)
/index.php
/admin.php
/site_two
/index.php
/site_three
/index.php
/system
from ee-master-config.
Erik - Thanks for the clarification. This makes sense to me. Not much would have to change in the config to make this happen since the system folder would be the same amount of levels above the admin.php and index.php of each site. My current structure is as follows:
/config
/public_html (main site)
/index.php
/admin.php
/second_site
/index.php
/admin.php
/system
So the problem is that the paths from database.php and config.php aren't working since they are being called relatively, from different folder depths.
I've asked my host if the structure that you've proposed is doable! Hopefully that will solve this. Thank you for taking a few minutes to point me in the right direction!
from ee-master-config.
I have a couple of sites coming up where I need to use the config with MSM and the sites are hosted across multiple cPanel accounts under a client's VPS (Virtual Private Server) running cPanel's WHM (Web Host Manager). This means that it's setup more like this:
/home/default_site
/_templates
/default_site
/config
/public_html
index.php
admin.php
/system
/third_party
/home/site2
/_templates
/site2
/public_html
index.php
admin.php
/home/site3
/_templates
/site3
/public_html
index.php
admin.php
Each site would also have its own templates directory, which may or may not work in this case. If there's any pointers or anyone else has managed to get around this type of setup, assistance would be greatly appreciated.
Cheers
Brendan
from ee-master-config.
Related Issues (20)
- Indicate EE 2.6 readiness? HOT 1
- Double-check on Require paths in config.master.php
- A Database Error Occurred HOT 3
- Database Error HOT 1
- Setup in webroot - dead link HOT 2
- Bad link in readme
- URL to root directory of site changes when importing a database from another environment. HOT 5
- Emoticon path uses $images_url instead of $images_path
- Creating a variable to control is_site_on ? HOT 1
- Dealing with third-party path and themes
- Database Error HOT 4
- Setting global variables in config files not working HOT 2
- Updating mysql variable to use mysli EE2.9.3
- EE3 HOT 3
- Migrating from EE2 to EE3
- System Configuration Overrides per Site in a MSM
- EE4 HOT 7
- Syspath
- Using Multi-config in a subdirectory? HOT 2
- ee-master-config for EE5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ee-master-config.