ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM, OpenBaseDir Restrictions with Domains + Subdomains

July 14, 2011 8:33am

Subscribe [2]
  • #1 / Jul 14, 2011 8:33am

    Fruit Studios

    20 posts

    Hi There,

    I am currently configuring my first MSM site with EE, my goal is to have multiple sites (a chain of bars run by the same company) running off the single install, each accessing their site via unique domains + subdomains, sharing core templates from the main website but most importantly sharing core resources (css, js, images) from the default site webspace.

    One potential issue is that I do not want / am unable to remove the restrictions put in place by OpenBase, my hosting company (Currently on a VPS running Plesk) will no allow this due to security issues!!

    1. Is this a major issue?

    2. Can anyone offer any advice / workarounds as a solution

    I am currently experimenting with each site being stored in a subfolder within the default webspace and these subfolders being defined as root folders for each sites domain.

    I would really appreciate any advice/ experiences people might be able to share!

    Many thanks,

    Sam

  • #2 / Jul 14, 2011 8:23pm

    Brandon Jones

    5500 posts

    Hi Sam,

    The existence of an open_basedir setting itself isn’t necessarily a problem. It all depends on what the setting is. Are you running into any issues setting up MSM in this manner?

  • #3 / Jul 15, 2011 5:13am

    Fruit Studios

    20 posts

    Yes, if I follow the EE install docs, installing on a subdomain, the system path cannot be found. Assuming it must be open base as the two web roots are as follows:

    /xxx/xxx/xxx/domain.com/httpdocs
    /xxx/xxx/xxx/domain.com/subdomains/subdomain/httpdocs

    Thanks

    S

  • #4 / Jul 15, 2011 5:02pm

    Brandon Jones

    5500 posts

    S,

    Typically, hitting an open_basedir restriction will generate a PHP error to that effect. If you have error reporting enabled and are not seeing such an error, you may just have the system path incorrect. What changes have you made to the subdomain’s index.php and admin.php files?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases