Code Monkey home page Code Monkey logo

Comments (10)

amccullough avatar amccullough commented on July 18, 2024

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.

rlargett avatar rlargett commented on July 18, 2024

I would love to see this set up for MSM as well

from ee-master-config.

gwincr11 avatar gwincr11 commented on July 18, 2024

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.

cgwin avatar cgwin commented on July 18, 2024

I too would like to see this.

from ee-master-config.

alexball avatar alexball commented on July 18, 2024

Anybody had any luck with this?

from ee-master-config.

erikreagan avatar erikreagan commented on July 18, 2024

@alexball I replied to your email a couple of days ago. Can you confirm that you received it?

from ee-master-config.

jesseschutt avatar jesseschutt commented on July 18, 2024

Anyone here willing to share what you did to get this working with MSM?

from ee-master-config.

erikreagan avatar erikreagan commented on July 18, 2024

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.

jesseschutt avatar jesseschutt commented on July 18, 2024

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.

ipixel avatar ipixel commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.