Versionsunterschiede von Test Server / Setting Up Virtual Hosts
hinzugefĂźgt:
sudo su
echo -e 'DocumentRoot "srv/www/htdocs/site1"\nServerName "www.linuxhelp1.com"' > /etc/apache2/conf.d/vhost.conf
Did it work?
cat /etc/apache2/conf.d/vhost.conf DocumentRoot "srv/www/htdocs/site1" ServerName "www.linuxhelp1.com"
entfernt:
echo -e 'DocumentRoot "srv/www/htdocs/site1"\nServerName "www.linuxhelp1.com"' > /etc/apache2/conf.d/vhost.conf