<br><br><div><span class="gmail_quote">On 10/6/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, Anisa <<a href="mailto:mystavash@animecards.org">mystavash@animecards.org</a>> wrote:<br><br>> With regards to step 3, there are many ways, as Gaele and Boris (whose name<br>> always reminds me of rocky and bullwinkle...) pointed out. I personally
<br>> can't do anything about the document root, I had to ask my host to make a<br>> symlink. But it did sound like just changing the docroot was the most ideal<br>> way. There are many methods and I would like to have step by steps for each
<br>> 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<br>> root in apache http.conf, create a symlink, configure .htaccess)?
<br><br>#1 Point a CNAME in DNS at <a href="http://www.example.com">www.example.com</a><br>#2 Change DocRoot (point all DocRoots at <a href="http://example.com">example.com</a> DocRoot)<br>#3 Symlink one DocRoot to the other (if you can't edit
httpd.conf)<br>#4 Configure .htaccess (trickery! very hard! stay away!)<br><br>Drupal looks at the incoming host header. #1 is the easiest method,<br>and you don't even need your host, you just need control over your own<br>
DNS. When you create a subdomain, e.g. <a href="http://sub1.example.com">sub1.example.com</a>, you set it up<br>as a CNAME which points to <a href="http://example.com">example.com</a>. Drupal's code is the one that<br>then serves up
<a href="http://sub1.example.com">sub1.example.com</a>, since that's what the incoming<br>request is for.</blockquote><div><br>I vaguely remember doing something like this a long time ago.... :)<br><br>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? :)
<br><br>No other ways than these 4? <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> Also, there is also the case of completely different servers?
<br><br>I think there is still confusion about multi-site. Multi-site, in<br>Drupal world, means specifically running multiple sites from the same<br>codebase. It does NOT mean anything about sharing content or<br>users...that is, well, a whole other section entitled "Sharing content
<br>and users between sites using database prefixing".<br><br>So, um, no...this doesn't work if Drupal is on different servers.</blockquote><div><br>But in the case of #1, why not? If you're just pointing around.<br>
<br>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?<br><br>Anisa.<br>
Curious.</div></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>*********************************