0

我有一个带有单个代码库的多站点设置。是否可以像这样使用子文件夹设置我的站点目录:mysite.com in /home/drupal/sites/mysite.com

/home/drupal/sites/cluster1/othersite1.com 中的 othersite1.com

/home/drupal/sites/cluster1/othersite2.com 中的 othersite2.com

/home/drupal/sites/cluster2/othersite3.com 中的 othersite3.com

/home/drupal/sites/cluster2/othersite4.com 中的 othersite4.com

我正在尝试找到一种方法来组织我的所有网站。

谢谢

4

1 回答 1

0

如果您使用的是 Drupal 7,则可以这样做。sites 文件夹中有一个名为 sites.php 的文件,您可以为站点的路径设置别名。如果您使用的是< Drupal 7,您可以按照您的建议创建目录并创建符号链接

 ln -s /home/drupal/sites/cluster1/othersite1.com othersite1.com 

在 settings.php 中解释了 Drupal 查找站点文件夹的方式,请阅读。

于 2011-01-21T21:29:50.653 回答