User login |
Including Another Node
This part is new.
This next part is also on another page.
After a long wait and intermittent efforts, I now have multiple websites running on a single drupal-4.6.2 install. Now that I have done it, it was quite simple. In the first test, I set a second domain to alias the first, in toher words the exact same website was reached by both the original domain name and also the new one. Then I created a folder in my /sites folder called newdomain.tld and added a settings.php file that calls a different database. It can be viewed for now at cafeamerican.info. What will I ever do after those free .info domains I use for testing finally expire? The second test was slightly more difficult. The example in the settings.php file is as follows:-Proof of Concept* For example, for a fictitious site installed at * http://www.drupal.org/mysite/test/, the 'settings.php' * is searched in the following directories: * * 1. sites/www.drupal.org.mysite.test * 2. sites/drupal.org.mysite.test * 3. sites/org.mysite.test * * 4. sites/www.drupal.org.mysite * 5. sites/drupal.org.mysite * 6. sites/org.mysite * * 7. sites/www.drupal.org * 8. sites/drupal.org * 9. sites/org * * 10. sites/defaultbut when I tried doing it this way I only got a File Not Found. Having nothing to lose at this point, tried it with a subfolder, creating a folder in my sites folder more like this: That's all. Many thanks to Nick Lewis: The Blog
( categories: )
|
Photo FunHere is a random photo from Flickr: |