Re: how to set up virtual hosts

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

 



Yes, I did. Here it is:
 
# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Joshua Slive <joshua@xxxxxxxx> wrote:
On 2/4/07, Beraru Liviu 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:
>
>
> ServerName localhost
> DocumentRoot C:/Programme/xampp/htdocs/localhost
>

>
>
> ServerName eurythmeum.de
> DocumentRoot C:/Programme/xampp/htdocs/maerchen
>

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



Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
[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