Hihi! I am glad you like my picture Gaele, it's quite horribly done, but simple is good too right?<br><br>With regards to terminology, I want to consistently use the same terminology.<br><br>Normally people talk about main and sub, but actually, multisites are just different sites, there isn't really a parent child relationship.
<br><br>So, how about the 'main' site be the 'codebase site', and any baby sites be 'multi-sites'?<br><br>Also, how about, 'a MySQL database is a place to store tables' a drupal database is 'a collection of tables'? Does that matter, is it confusing?
<br><br>Can we make tip boxes? I'd like to be able to make a tip visually different from the rest of the text.<br><br>When you share tables, don't you have to put them all in the same database, since drupal only connects to one?
<br><br>I think I would avoid mentioning words like database layer. ;) But it is important to know that only completely separate sites are supported.<br><br>I will change the illustration for 3 different cases. What's the real difference between supported and unsupported anyway? That it may not work? That you may break something horrible?
<br><br>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.
<br><br>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)?<br><br>Also, there is also the case of completely different servers?<br>
<br>Anisa.<br><br><div><span class="gmail_quote">On 10/5/06, <b class="gmail_sendername">Boris Mann</b> <<a href="mailto:boris@bryght.com">boris@bryght.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/5/06, Gaele Strootman <<a href="mailto:eindgebruiker@gmail.com">eindgebruiker@gmail.com</a>> wrote:<br><br>> Step 1:<br>> It would be clearer if you order it:<br>> - COMPLETELY separate sites<br>> - SHARE users ONLY
<br>> - MIRROR sites<br>> What about the option of using a different database for each site? No<br>> need for prefixes.<br><br>Yep. You only need prefixing if you are limited in the number of MySQL<br>DBs you can run.
<br><br>> Step 2:<br>> I would supply a table here to make it clearer:<br>> site: directory:<br>> <a href="http://www.example.com">www.example.com</a> /sites/default/settings.php<br>
> <a href="http://sub1.example.com">sub1.example.com</a> /sites/sub1.example.com/settings.php<br>> etc.<br>><br>> Step 3:<br>> What I do is: let Apache point to a different document root for every<br>> hostname, and let each document root be a symlink to the drupal
<br>> directory. This is quite easy and gives you enough flexibility.<br><br>You definitely don't need to do this. This is the "hard" part that<br>Drupal handles automatically. Point all your hostnames at the same
<br>DocRoot. One Drupal codebase. Create a folder in at /sites/domain1.com<br>that represents your <a href="http://domain1.com">http://domain1.com</a> URL. Done. (still have to<br>create a separate database or do prefixing)
<br><br>A general note: sharing users or other tables is difficult stuff. I<br>applaud attempts to document, BUT it should come with big bold letters<br>like "You should know what you're doing, this is powerful stuff, it is
<br>trickery at the DB layer, and it is a trick that is essentially<br>unsupported". As opposed to separate multisite, which we have core<br>support for and "just works".<br><br>--<br>Boris Mann<br>--<br>Pending work:
<a href="http://drupal.org/project/issues/documentation/">http://drupal.org/project/issues/documentation/</a><br>List archives: <a href="http://lists.drupal.org/pipermail/documentation/">http://lists.drupal.org/pipermail/documentation/
</a><br></blockquote></div><br><br clear="all"><br>-- <br>*********************************<br><a href="http://www.AnimeCards.Org">www.AnimeCards.Org</a><br><br>16,000 scans and counting!<br>*********************************