基思,
,如果你有一个站点的设置,那么可能是你这下/网站/默认。从settings.php这个文件,我们看到的Drupal会寻找的settings.php在9个地方则默认为网站/默认/ settings.php这个之前,如下面的代码片段:
* The configuration directory will be discovered by stripping the
* website's hostname from left to right and pathname from right to
* left. The first configuration file found will be used and any
* others will be ignored. If no other configuration file is found
* then the default configuration file at 'sites/default' will be used.
*
* 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/default
添加另一个单网站设置仍然会保持这9个检查,并将在其上添加apache虚拟化,所以我不明白这可能会更快。另外,如果你最终需要管理很多站点,有几个drupal实例会不必要地增加你的管理开销。如果你打算有很多Drupal站点,我建议你看看hosting project,这是aegir hosting system的一部分。维护这个项目的人们花费了大量的精力来简单地维护和部署大量的drupal站点。
我认为这是一个非常有趣的问题。不幸的是我没有答案。你问过drupal.org上的好人吗? – FlorianH 2009-12-21 18:18:02
我看了一大堆在drupal.org上的贴子。很多很好的信息,但不幸的是没有找到这个问题的答案。 – keithm 2010-01-10 03:51:44