Versionsunterschiede von Test Server / Setting Up Virtual Hosts
hinzugefĂźgt:
one configuration file per virtual host in /etc/apache2/vhosts.d/
echo -e 'DocumentRoot "/srv/www/htdocs/myproject"\nServerName "myproject"' > /etc/apache2/conf.d/vhost.conf
DocumentRoot "/srv/www/htdocs/myproject" ServerName "myproject"
entfernt:
echo -e 'DocumentRoot "srv/www/htdocs/myproject"\nServerName "myproject"' > /etc/apache2/conf.d/vhost.conf
DocumentRoot "srv/www/htdocs/site1" ServerName "www.linuxhelp1.com"