Re: [users@httpd] Basic question

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

 



I don't think so...
You'll connect to the server hosting the virtual hosts (be it
top-level or below that), then just request something else.
For example, both gilabs.com and gitesting.com are hosted on
216.193.217.198.  If I connect to 216.193.217.198 and ask for
gilabs.com, that is what I get, and vice-versa.
For example:
Trying 216.193.217.198...
Connected to 216.193.217.198.
Escape character is '^]'.
GET / HTTP/1.1
Host: gilabs.com

HTTP/1.1 302
Date: Wed, 22 Feb 2006 04:16:15 GMT
Server: Apache Web Server
Location: main/
....
and
Connected to 216.193.217.198.
Escape character is '^]'.
GET / HTTP/1.1
Host: gitesting.com

HTTP/1.1 200 OK
Date: Wed, 22 Feb 2006 04:17:09 GMT
Server: Apache Web Server
<source of gitesting.com>

Try it for yourself :)
If you're still having trouble, feel free to contact me off-list.
David

On 2/21/06, Tezyn Drasdin <tezyn.drasdin@xxxxxxxxx> wrote:
>
>
> On 2/21/06, David Wolever <wolever.lists@xxxxxxxxx> wrote:
> > You can either use:
> > GET http://wolever.wolever.net/ HTTP/1.1
> > or specify a host:
> > GET / HTTP/1.1
> > Host: wolever.wolever.net
> >
>
> The thing about that is it still requires that I either modify the hosts
> file, or it needs Name Resolution.  I am going to be working on different
> computers, and they won't let me go around and modify all of the hosts file
> every time I need to run a test, so I have to figure out how I can telnet
> into the server, and Pass the information that it needs to identify which
> VirtualHost that needs to respond.... now that I say it, it sounds like a
> problem that information that I need to pass while I am making the
> connection, and not after....
>

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