我正在进行多站点Drupal 8安装并尝试在本地主机上进行安装。通过使用virtualhost,我已将drupal文件夹(/ var / www / html / drupal /)与域和端口.Ex wwww.example进行了链接。 com:4546
i
运行时将其重定向到我这个网址 http://www.example.com:4546/core/install.php 但是当我尝试运行子域时,它会给我权限问题 http://www.example.com:4546/site1
Step for the Step Up drupal Multi site
Briefly, the steps are,
###############################
Step 1 Created the sites.php in the sites folder
##############################
Step 2 Creeated two folder site1 and site2
###############################
Step 3
###############################
cp default/default.settings.php site1/settings.php
cp default/default.settings.php site2/settings.php
cp default/default.services.yml site1/services.yml
cp default/default.services.yml site2/services.yml
Step 4 Created the $sites array in the sites.php
$sites = array(
'4546.www.example.com.site1' => 'site1',
'4546.www.example.com.site2' => 'site2',
);