httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beraru Liviu <liviub...@yahoo.com>
Subject Re: [users@httpd] how to set up virtual hosts
Date Sun, 04 Feb 2007 20:58:12 GMT
Yes, I did. Here it is:
   
  # Virtual hosts
Include conf/extra/httpd-vhosts.conf

Joshua Slive <joshua@slive.ca> 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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.
Mime
View raw message