0

我有一个使用单个代码库的 Drupal 多站点设置。我有一个在 /home/drupal/sites/wxyz.com 中运行的站点我想将另一个域名指向同一个站点(相同的内容)。域是 wxyz.net。我是否在 vhosts 文件中为 wxyz.com 复制条目并将其复制到 wxyz.net ?我还需要一个符号链接吗?我不想为 wxyz.net 建立一个全新的站点,我只希望域指向 .com。

谢谢

4

1 回答 1

0

If both sites share the same content you don't need to do anything but set up the vhost. If you have different content you will need 2 different settings.php files.

You should not need to set up a symlink in either setup.

于 2011-01-22T23:07:22.367 回答