Re: how to set up virtual hosts

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

 



On 2/4/07, Beraru Liviu <liviubero@xxxxxxxxx> wrote:
I have a problem:

I created two virtual hosts: one named localhost, and one named
eurythmeum.de

There are two folders in which I put the files, one named localhost and one
maerchen.

Here is the code in the httpd-vhosts.conf:

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/Programme/xampp/htdocs/localhost
</VirtualHost>

<VirtualHost *:80>
ServerName eurythmeum.de
DocumentRoot C:/Programme/xampp/htdocs/maerchen
</VirtualHost>

But when I type in the browsers adress http://eurythmeum.de I get the same
result as when I type http://localhost namely the content of the "localhost"
folder, as if I would have typed http://localhost

That is approximately the right config.

But you mention putting it in httpd-vhost.conf.  Did you Include that
config in httpd.conf?

Joshua.

---------------------------------------------------------------------
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