04-14-2023, 10:12 PM
Hallo everybody
Ehcp is a wonderfull app for hosting
I have a problem trying to setup drupal multisite (one core drupal installaion for many sites) in my ehcp server.I have tried many things but nothing worked.
1.Installed a lamp server (192.168.1.10) ubuntu and debian .
Tested apache (/var/www) , mysql an php everything is ok
2.Installed ehcp without any problems So 192.168.1.10/vhosts/ehcp points to ehcp admin control panel.
3.I installed drupal in /var/www/drupal and made the multisite option availiable configuring the settings.php for both sites
via 192.168.1.10/drupal/sites/www.mydom.lan & www.mytom.lan
. Adding to my /etc/hosts file
192.168.1.10 www.mydom.lan
192.168.1.10 www.mytom.lan
and enable virtual hosts for apache I was able to enter both sites from my browser
(e.g of my virtual host file for www.mydom.lan)
ServerAdmin webmaster@localhost
ServerName www.mydom.lan
DocumentRoot /var/www/drupal
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
Returning to ehcp I ve created the www.mydom.lan via easy add domain option and disable the virtualhost that i created before.Pointing with my browser now after restarting apache at www.mydom.lan returned me the ehcp default.html page created with a new empty domain.
My problem is that I cannot redirect apache template created by ehcp to my drupal multisite installation (var/www/drupal) I tried changing in the ehcp template the DocumentRoot but it didn't work
UseCanonicalName Off
#DocumentRoot {homedir}/httpdocs
DocumentRoot /var/www/drupal/sites/www.mydom.lan/
I m sure I have mixed something
Any Help appreciated
Thanx
Restored from old drupal forum, for user uid:3554 username:panoulis
You may reset your password to access your new account here.
Ehcp is a wonderfull app for hosting
I have a problem trying to setup drupal multisite (one core drupal installaion for many sites) in my ehcp server.I have tried many things but nothing worked.
1.Installed a lamp server (192.168.1.10) ubuntu and debian .
Tested apache (/var/www) , mysql an php everything is ok
2.Installed ehcp without any problems So 192.168.1.10/vhosts/ehcp points to ehcp admin control panel.
3.I installed drupal in /var/www/drupal and made the multisite option availiable configuring the settings.php for both sites
via 192.168.1.10/drupal/sites/www.mydom.lan & www.mytom.lan
. Adding to my /etc/hosts file
192.168.1.10 www.mydom.lan
192.168.1.10 www.mytom.lan
and enable virtual hosts for apache I was able to enter both sites from my browser
(e.g of my virtual host file for www.mydom.lan)
ServerAdmin webmaster@localhost
ServerName www.mydom.lan
DocumentRoot /var/www/drupal
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
Returning to ehcp I ve created the www.mydom.lan via easy add domain option and disable the virtualhost that i created before.Pointing with my browser now after restarting apache at www.mydom.lan returned me the ehcp default.html page created with a new empty domain.
My problem is that I cannot redirect apache template created by ehcp to my drupal multisite installation (var/www/drupal) I tried changing in the ehcp template the DocumentRoot but it didn't work
UseCanonicalName Off
#DocumentRoot {homedir}/httpdocs
DocumentRoot /var/www/drupal/sites/www.mydom.lan/
I m sure I have mixed something
Any Help appreciated
Thanx
Restored from old drupal forum, for user uid:3554 username:panoulis
You may reset your password to access your new account here.