logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Sharing content/users between Drupal sites (was Re: multi site docs): msg#00048

Subject: Re: Sharing content/users between Drupal sites (was Re: multi site docs)
What I was trying to do:

www.example.com/ - site A
www.example.com/foo - site B

Assume that $docroot is /var/www/html, where site A lives

If I symlink $docroot/foo to $docroot, then site A and site B mostly work.  
However, once I enable clean URLs, site B becomes inaccessible.  The 
common .htaccess file was directing all paths to site A, even if the URL 
didn't properly make sense (eg, foo/admin/settings).  That still gave me the 
settings page for site A.  

I never did figure out how to make it work, or even if it's possible.  I'm 
just listing it as another scenario that should either be figured out and 
documented or documented as "don't waste time, this won't work". :-)

On Friday 06 October 2006 02:15, Anisa wrote:
> Why not?  Why?  What's different, what do you have to change?
>
> It'll be in the examples, certainly.
>
> This will only work with lots of examples, otherwise people are going to
> come back, saying, what about me?
>
> Anisa.
>
> On 10/6/06, Larry Garfield <larry@xxxxxxxxxxxxxxxx> wrote:
> > Only if you're going to mention putting multiple sites in one database
> > with
> > table prefixes, which runs into the shared-content subject that Boris is
> > talking about.
> >
> > Another thing to cover, I think, is directory-based multi-site rather
> > than just domain-based.  Especially if one site is "under" another, that
> > runs into
> > all sorts of weirdness.  (I was recently bitten by that myself, and
> > haven't
> > figured out how to make it work nicely yet. <g>)
> >
> > On Thursday 05 October 2006 15:17, Anisa wrote:
> > > Is there any point to covering creating a database?
> > >
> > > Hm..
> > >
> > > Anisa.
> > >
> > > On 10/6/06, Anisa <mystavash@xxxxxxxxxxxxxx> wrote:
> > > > Booo, I'm writing it, and I want to write multi site docs.  ;)
> > > >
> > > > I will allow you the point, though, and I'll separate them out.
> > > >
> > > > In which case...  There is still the crucial Step 3!  I will find
> > > > some symlink stuff if someone else will write the CNAME and document
> > > > root thingies?
> > > >
> > > > I never did see an example of htaccess in the forum posts...
> > > >
> > > > Anisa.
> > > >
> > > > On 10/6/06, Boris Mann <boris@xxxxxxxxxx > wrote:
> > > > > Please...the term "multi-site" refers ONLY to Case 1 -- nothing
> > > > > shared, just running on the same codebase.
> > > > >
> > > > > If this is a HOW TO for *sharing content*....that is a whole other
> > > > > tutorial, and is not officially supported (although pulling
> > > > > together the info would be great). As I hinted at earlier, you can
> > > > > do sharing content without multi-site...it's ALL done at the
> > > > > database layer.
> > > > >
> > > > > So...I think it should in fact be titled "HOW TO: Sharing
> > > > > content/users between Drupal sites"...making no mention of
> >
> > multi-site.
> >
> > > > > Sorry to be anal about this, but we have enough issues with folks
> > > > > getting confused by terminology.
> > > > >
> > > > > On 10/5/06, Anisa <mystavash@xxxxxxxxxxxxxx> wrote:
> > > > > > http://drupal.mystavash.net/node/3
> > > > > >
> > > > > > Hm...
> > > > > >
> > > > > > Question!
> > > > > >
> > > > > > For the first step, creating a database, I made 3 baby pages for
> >
> > each
> >
> > > > > case
> > > > >
> > > > > > (1, 2, 3).  For the 2nd step, configuring settings.php, I know
> >
> > it's
> >
> > > > > > relatively easy, but I think it would be worth while to spell out
> >
> > all
> >
> > > > > the
> > > > >
> > > > > > variables.  In that case, it's too much stuff for one page (I
> > > > > > made the
> > > > > >
> > > > > > tables Gaele suggested), so....  is it a good idea to make again
> >
> > Case
> >
> > > > > 1, 2,
> > > > >
> > > > > > 3 child pages?
> > > > > >
> > > > > > For the last step, pointing, I don't think it matters which case
> >
> > it
> >
> > > > > is, so
> > > > >
> > > > > > it wouldn't be needed, it'd just be separated into the 4
> > > > > > different
> > > > >
> > > > > methods.
> > > > >
> > > > >
> > > > > --
> > > > > Boris Mann
> > > > > Vancouver 778-896-2747
> > > > > San Francisco 415-367-3595
> > > > > Skype borismann
> > > > > http://www.bryght.com
> > > > > --
> > > > > Pending work: http://drupal.org/project/issues/documentation/
> > > > > List archives: http://lists.drupal.org/pipermail/documentation/
> > > >
> > > > --
> > > > *********************************
> > > > www.AnimeCards.Org
> > > >
> > > > 16,000 scans and counting!
> > > > *********************************
> >
> > --
> > Larry Garfield                  AIM: LOLG42
> > larry@xxxxxxxxxxxxxxxx          ICQ: 6817012
> >
> > "If nature has made any one thing less susceptible than all others of
> > exclusive property, it is the action of the thinking power called an
> > idea, which an individual may exclusively possess as long as he keeps it
> > to himself; but the moment it is divulged, it forces itself into the
> > possession
> > of every one, and the receiver cannot dispossess himself of it."  --
> > Thomas
> > Jefferson
> > --
> > Pending work: http://drupal.org/project/issues/documentation/
> > List archives: http://lists.drupal.org/pipermail/documentation/




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>