Mailinglist Archive: opensuse (3103 mails)

< Previous Next >
Problem setting up virtual hosts with apache
  • From: David List <david@xxxxxxxxxxxx>
  • Date: Sun, 9 Feb 2003 21:51:14 +0100
  • Message-id: <200302092151.14545.david@xxxxxxxxxxxx>
Everywhere I look for apache documentation dealing with setting up virtual
hosts with apache 1.3, it is told that something like this should work:

NameVirtualHost *
<VirtualHost *>
# Setup for first virtual host
</VirtualHost>
<VirtualHost *>
# Setup for second virtual host
</VirtualHost>

When I try this, I get the following message when restarting apache:

dt:~ # /etc/init.d/apache restart
Shutting down httpd
done
Starting httpd [ PERL PHP4 Python ][Sun Feb 9 21:38:53 2003] [warn]
NameVirtualHost *:80 has no VirtualHosts
done
dt:~ #

What goes wrong?

Best regards,
David List


< Previous Next >