When you host multiple domains on one account, how isolated are they? Can you have a common directory for shared content?
Can I have a directory outside of the root of my site’s root?
I would like to be able to share assets between multiple sites without making absolute URL calls.
My story is that I’ve got a family web site and separate URLs for each child. They do things together, so there is an overlap of some content. Currently I have to upload it to each site.
I want to know if I can have a common folder that both can access.
Maybe something like:
Would this work in script.php:<?php include ../common/included.php; ?>
I would use this for common items like templates, images and other stuff. Each site would have its own config file and database.
This might seem odd, and it is. Sort of a design flaw I didn’t think of when we had our second child (sleep deprivation from the first).