Forum Moderators: phranque

Message Too Old, No Replies

Joining /mapping / linking directory?

         

iantresman

8:57 pm on Nov 20, 2011 (gmt 0)

10+ Year Member



Is it possible for htaccess to join /map / link the contents of one directory with another? For example, I have the following

var/www/vhosts/drupal6/d6/ (master installation)
var/www/vhosts/drupal6/d6/subdir1 etc
var/www/vhosts/drupal6/d6/subdir2 etc


And then I'd like the contents of the following directories to show the contents of (or access) the above (in addition to their own files):

var/www/vhosts/knowledgecomputing.co.uk/httpdocs/
var/www/vhosts/anotherdomain.co.uk/my-directory.com/
var/www/vhosts/customer.com/domain.co.uk/


In this way I can have a single master installation of Drupal, and have other domains access it, and subsequently make it easier to update the one installation, rather than having to update several.

iantresman

7:50 pm on Nov 21, 2011 (gmt 0)

10+ Year Member



When I list the content of either domain1.com or domain2.com, I'd like the contents of sub-master to appear, along with the files that already exist. Possible? Mod_rewrite? mod_proxy?

--sub-master
| +---subsub1
| +---subsub2
|
+-domain1.com
|
+-domain2.com

lucy24

11:24 pm on Nov 21, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Just so you know we are not ignoring you...

The one person most likely to answer your question succinctly and correctly* is on vacation and not checking the boards as often as usual. So sit tight.


* I could make something up, but it would be neither correct nor succinct. Or I could study the Apache docs, which is always interesting and enlightening but tends to lead to digressions.

iantresman

12:09 am on Nov 22, 2011 (gmt 0)

10+ Year Member



Thanks for the note, much appreciated.