Re: Virtual Domain and host info in http request
From: Jeff Breitner (usenet_at_rudn.com)
Date: 05/31/04
- Next message: dave frost: "internalaccess to internal webserver via gateway hostname"
- Previous message: David Efflandt: "Re: what **CHEAP** wired NICs are compatible with Linux - thanks :-)"
- In reply to: Ohmster: "Re: Virtual Domain and host info in http request"
- Next in thread: Ohmster: "Re: Virtual Domain and host info in http request"
- Reply: Ohmster: "Re: Virtual Domain and host info in http request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 31 May 2004 16:32:29 -0400
Ohmster wrote:
>
> Yes, but it is line wrapping pretty badly here and I am afraid to try it. Can
> you please zip this file and send it to my email or give me a link to this
> file so that I can "download it fresh", Jeff?
I'll see if I can email it to you.
> I do not have telnet enabled on my redhat machine, I use ssh. Can I do it
> this way or do I have to enable telent for this?
You just need to have the telnet client, not the server. You're going
to telnet to port 80 and the server isn't going to be the telnet server,
but Apache.
> I don't think so... I used a "fresh rpmnew" one for the test but at this
> point, anything is possible. I like this simple index with destination test
> idea, turning on the virtual hosts, running ethereal to caputure, telnetting
> in and seeing what happens.
>
> Uhm, how exactly does one "pretend to be a browser" with telnet? I can telnet
> to port 80 for sure but what would I to to present myself as a browser to see
> what is going on? And will ssh not work for this (probably not)?
>
Well, you're going to spit at it what a browser would spit at it.
As a minimum, you'll want to say something like:
>telnet www.something.com 80
Trying 66.35.250.151...
Connected to www.something.com.
Escape character is '^]'.
(then you type)
GET / HTTP/1.1
Host: www.something.com
(and it should send the page)
-- WWJD? JWRTFM Rot13 for email address: yvfgf @ ehqa.pbz
- Next message: dave frost: "internalaccess to internal webserver via gateway hostname"
- Previous message: David Efflandt: "Re: what **CHEAP** wired NICs are compatible with Linux - thanks :-)"
- In reply to: Ohmster: "Re: Virtual Domain and host info in http request"
- Next in thread: Ohmster: "Re: Virtual Domain and host info in http request"
- Reply: Ohmster: "Re: Virtual Domain and host info in http request"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|