<br><br><div><span class="gmail_quote">On 10/7/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;">
As wel as comments inline, I've also pasted in the "tree walking"<br>rules from settings.php at the end.</blockquote><div><br>Question! In the docs for this, I've just linked Installing Drupal a few times, rather than repeat what has already been said. I don't like repeating in the handbook, but I will say the install text is not the easiest. Still, just linking OK?
<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;">On 10/6/06, Larry Garfield <<a href="mailto:larry@garfieldtech.com">larry@garfieldtech.com
</a>> wrote:<br><br>> Using Drupal 4.7.3 on my Apache2/PHP5 Linux desktop:<br>><br>> Code installed in:<br>> /var/www/mysite/<br>><br>> Main url:<br>> <a href="http://myserver/mysite">http://myserver/mysite
</a><br>><br>> Intended location of sub-site:<br>> <a href="http://myserver/mysite/foo">http://myserver/mysite/foo</a><br>><br>> .htaccess file's RewriteBase set to:<br>> /mysite<br>><br>> sites directory has the following entries:
<br>> default (used for the main site)<br><br>Try actually putting in an myserver.mysite entry, rather than default<br>(you should be able to just rename default). It seems to be walking up<br>the path and "Defaulting" to default when it shouldn't be. In general,
<br>I don't use default unless I am only running one site OR I actually<br>will symlink myserver --> default....just so it's clear what I<br>*expect* the default to be.<br><br>Also, set base_url's for both in settings.php
. That's sort of a<br>general troubleshooting tip if you're having difficulties getting the<br>proper domain to resolve.</blockquote><div><br>Question! Is there any reason to NOT set base url? I think I would like to add it to the advice.
<br><br>(will have to add this line to the troubleshooting section)<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;">> myserver.mysite.foo
<br>><br>> Both sites exist and have basic configuration done. They are using different<br>> themes so that I can tell them apart. I do not have a base url set for<br>> either one.<br><br>> If I symlink /var/www/mysite/foo to /var/www/mysite:
<br><br>There should be no /var/www/mysite/foo at all. If this does not work,<br>it's a bug.<br><br>I'm being anal about this, because documenting this the wrong way<br>is...well, wrong.<br><br>It is complicated by the fact that a combination of shared hosting DNS
<br>and webserver set ups can make this look completely..well, different,<br>and again, really hard to troubleshoot and get working correctly.</blockquote><div><br>Well, accuracy is important if that will reduce confusion later. So please, by all means, be picky. But please also provide the explanations so that I and others who write this understand. I find when I understand something really well, I can summarize it better.
<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;">So, we can actually only document very specific combinations if<br>hosting has things set up strangely -- "If your host uses cpanel, and
<br>subdomains are created as directories, then you need to symlink".</blockquote><div><br>Well, let's say if your host creates subdomains as directories, you need to symlink. Is this more bad or less bad than editing the apache file (which as far as I can understand, is roughly the same?).
<br><br>Additionally, let me be absolutely clear, you are saying this whole step 3 thing of pointing when you have a sub directory of the *codebase* site is not necessary because the domain is already pointed at the site, and Drupal handles the rest. Drupal can handle the rest effectively because actually, as listed in the instructions you mentioned, it checks for directories first.
<br></div><br></div>So, a check needs to be added to the end of Step 2, and the start of Step 3.<br><br>Anisa.<br><br>-- <br>*********************************<br><a href="http://www.AnimeCards.Org">www.AnimeCards.Org</a><br>
<br>16,000 scans and counting!<br>*********************************