[documentation] multi site docs

Anisa mystavash at animecards.org
Thu Oct 5 15:52:04 UTC 2006


On 10/6/06, Boris Mann <boris at bryght.com> wrote:
>
> On 10/5/06, Anisa <mystavash at animecards.org> wrote:
>
> > With regards to step 3, there are many ways, as Gaele and Boris (whose
> name
> > always reminds me of rocky and bullwinkle...) pointed out.  I personally
> > can't do anything about the document root, I had to ask my host to make
> a
> > symlink.  But it did sound like just changing the docroot was the most
> ideal
> > way.  There are many methods and I would like to have step by steps for
> each
> > of them.  But they should go in the order you recommend.
> >
> > So, first, are there any methods in addition to the 3 I listed (change
> doc
> > root in apache http.conf, create a symlink, configure .htaccess)?
>
> #1 Point a CNAME in DNS at www.example.com
> #2 Change DocRoot (point all DocRoots at example.com DocRoot)
> #3 Symlink one DocRoot to the other (if you can't edit httpd.conf)
> #4 Configure .htaccess (trickery! very hard! stay away!)
>
> Drupal looks at the incoming host header. #1 is the easiest method,
> and you don't even need your host, you just need control over your own
> DNS. When you create a subdomain, e.g. sub1.example.com, you set it up
> as a CNAME which points to example.com. Drupal's code is the one that
> then serves up sub1.example.com, since that's what the incoming
> request is for.


I vaguely remember doing something like this a long time ago....  :)

With so many ways of doing a symlink, I agree htaccess is hardly ideal, but
when I asked my host about it, (before I asked about the symlink), that's
what they came back with.  Bad people?  :)

No other ways than these 4?

> Also, there is also the case of completely different servers?
>
> I think there is still confusion about multi-site. Multi-site, in
> Drupal world, means specifically running multiple sites from the same
> codebase. It does NOT mean anything about sharing content or
> users...that is, well, a whole other section entitled "Sharing content
> and users between sites using database prefixing".
>
> So, um, no...this doesn't work if Drupal is on different servers.


But in the case of #1, why not?  If you're just pointing around.

Not entirely sure I follow your argument.  It seems to me that if it were
about sharing, then it would have to be on the same server, since it's not
about sharing, why can't it be on different servers?

Anisa.
Curious.



-- 
*********************************
www.AnimeCards.Org

16,000 scans and counting!
*********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/documentation/attachments/20061006/cbf43b75/attachment.htm 


More information about the documentation mailing list