httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Octavian Rasnita" <orasn...@home.ro>
Subject Re: Multiple virtualhosts
Date Sun, 28 May 2000 04:32:46 GMT
Yes, sorry, I see that this is a windows problem and not a server one.
This because in Windows 98, it recognizes the IP of the computer even though
there is no connection to a LAN, but in Win 2k it doesn't.

Teddy,
orasnita@home.ro

----- Original Message -----
From: "The_RadiX" <the_radix@hotkey.net.au>
To: <users@httpd.apache.org>
Sent: Monday, May 27, 2002 4:30 PM
Subject: Re: Multiple virtualhosts


> > > Note: I use Windows 2000 and under this OS, I can't use the IP
> > > address of my
> > > computer (192.168.0.1) and I need to use the loopback address instead.
> > > (127.0.0.1).
> > >
> > > Under Win 2k I can use the IP address of my network card only
> > > if I connect
> > > another computer.
>
> the reason for this is because if the network (lan) adapter is
disconnected
> (ie not plugged in or on a LAN) it basically means the network interface
> won't exist.. this therefore means that the IP for that interface (most
> probably 192.168.0.1 as you've said) won't be available..
>
> Of course the loopback will always work as you've said.. but that's why it
> does that..
>
> Easy solution? Either a create a physical loop crossover (don't ask.. a
> shoddy trick with a bit of "playing" on a cat5 cable in which you cross
over
> the cable on itself and the computer thinks it's looking at something..
may
> not work anymore due to some changes in the way NIC's work in 2k.. dunno)
> or.. just use the 127.0.0.1 one :)
>
>
>
>
> Ok.. that's my 2c..
> :::::::::::::::::::::::::::::::::::::::::::
> :  Julien Bonastre [The-Spectrum.org CEO]
> :  A.K.A. The_RadiX
> :  the_radix@hotkey.net.au
> :  ABN: 64 235 749 494
> :  QUT Student #: 04475739
> :::::::::::::::::::::::::::::::::::::::::::
> ----- Original Message -----
> From: "Octavian Rasnita" <orasnita@home.ro>
> To: <users@httpd.apache.org>
> Sent: Monday, May 27, 2002 12:54 PM
> Subject: Re: Multiple virtualhosts
>
>
> > Thank you all.
> >
> > However, I've tried that (That's why I am asking) but it doesn't work in
> Win
> > 2k.
> >
> > If I use something else than "localhost" as a virtualhost name, it
prompts
> > me to connect to internet.
> >
> > I also tried to put in my hosts file:
> >
> > 127.0.0.1 localhost
> > 127.0.0.1 ll
> >
> > If I define a virtualhost named localhost, it works, but if I create
> another
> > one named "ll" it doesn't.
> >
> > Any idea?
> >
> > Teddy,
> > orasnita@home.ro
> >
> > ----- Original Message -----
> > From: "Chris Wik" <chris@anu.net>
> > To: <users@httpd.apache.org>
> > Sent: Sunday, May 26, 2002 5:21 PM
> > Subject: Re: Multiple virtualhosts
> >
> >
> > > Just setup a NameVirtualHost with your loopback address, then
> > > you can have as many vhosts as you like after that:
> > >
> > > ### Section 3: Virtual Hosts
> > > NameVirtualHost 127.0.0.1
> > > <VirtualHost 127.0.0.1>
> > >       DocumentRoot /Sites
> > >       ServerName skittle
> > >       ServerAlias www.skittle.org skittle.org
> > >       AddHandler lasso-handler html
> > > ...
> > > </VirtualHost>
> > > <VirtualHost 127.0.0.1>
> > >       ...
> > > </VirtualHost>
> > >
> > > HTH
> > > Chris.
> > >
> > >
> > >
> > > On Saturday, May 25, 2002, at 09:07 AM, Octavian Rasnita wrote:
> > >
> > > > For testing purposes, I want to configure multiple
> > > > virtualhosts  on the
> > > > same computer.
> > > > I want all of them to listen to port 80. Just tell me if it is
> > > > possible.
> > > >
> > > > Note: I use Windows 2000 and under this OS, I can't use the IP
> > > > address of my
> > > > computer (192.168.0.1) and I need to use the loopback address
instead.
> > > > (127.0.0.1).
> > > >
> > > > Under Win 2k I can use the IP address of my network card only
> > > > if I connect
> > > > another computer.
> > >
> > >
> > > --
> > > Chris Wik
> > > Unix Systems Admin, ANU Internet Services
> > > http://www.anu.net/
> > > mailto:chris@anu.net
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > > For additional commands, e-mail: users-help@httpd.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message