Re: Virtual Host Issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/7/07, Karl-Heinz Schulz <karlheinz@xxxxxxxxxxxx> wrote:
I tried that earlier but it defaults always to the first specified site -
there must be something else going since I get the following error:

Basically what you write in the "NameVirtualhost" directive must match
what you write in the <VirtualHost > block.

You have:

NameVirtualHost *:80

So you are telling your server to look for virtualhosts for every
request that comes in on port 80 on any interface. The server will
then look over all blocks starting with

<VirtualHost *:80>

for a matching servername.

So replace

<VirtualHost wienernaschmarkt:80>

with

<VirtualHost *:80>

and try again.

Krist

--
krist.vanbesien@xxxxxxxxx
Bremgarten b. Bern, Switzerland
--
"...what you don't realize is that in the future Google WILL reach
sentience, will [have had] invent[ed] a time machine, and will [have
had] travel[ed] back in time to prevent Bill Gates... only to become
Bill Gates by accident because of a search engine optimization
miscalculation." (Comment on the Dilbert Blog)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux