Re: Can Inetrnet users access my local webservers through my gateway by using rinetd, apache or sth

Denis Voitenko (denis@o3m.com)
Sat, 13 Nov 1999 12:32:30 -0500


Port redirectors do exactly what they say they do, they redirect ports. They
do not care which ports, be it 80 or 21 and thus it should be no problem to
have virtual servers on a machine that the request is redirected to. If that
presents a problem you can fix it by reading the requested_host variable
with something like Perl or PHP and redirect it on the machine by yourself,
after the request has arrived.

----- Original Message -----
From: Kev <klmitch@MIT.EDU>
To: Thai <dvt@dee.hcmut.edu.vn>
Cc: Rony Gabriel <rony@cse.iitb.ernet.in>; <linux-admin@vger.rutgers.edu>;
<linux-net@vger.rutgers.edu>
Sent: Saturday, November 13, 1999 1:29 AM
Subject: Re: Can Inetrnet users access my local webservers through my
gateway by using rinetd, apache or sth like that?

>
> > If I'm not mistaken, virtual host directive is used to create virtual
hosts o
> > n only
> > one machine. It cannot be used to direct request to web servers inside.
That
>
> That's how I understand it. However, you can use the named virtual hosts
to
> cause an http-level redirect to a specific port on the machine, which can
then
> be forwarded to the back-end web servers.
> --
> Kevin L. Mitchell <klmitch@mit.edu>
> ------------------------- -. .---- --..
.- -..- --------------------------
> http://web.mit.edu/klmitch/www/ (PGP keys availiable from
here)
> RSA AE87D37D/1024: DE EA 1E 99 3F 2B F9 23 A0 D8 05 E0 6F BA B9 D2
> DSS ED0DB34E/1024: D9BF 0E74 FDCB 43F5 C597 878F 9455 EC24 ED0D B34E
> DH 2A2C31D4/2048: 1A77 4BA5 9E32 14AE 87DA 9FEC 7106 FC62 2A2C 31D4
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@vger.rutgers.edu
>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu