[2176] in WWW Security List Archive
Re: WWW FAQ...
daemon@ATHENA.MIT.EDU (Jacob Rose)
Thu May 30 10:07:42 1996
Date: Thu, 30 May 1996 08:15:25 -0400 (EDT)
From: Jacob Rose <jacob@hummingbird.whiteshell.com>
To: Lianyi Zhu <zhul@cs.uregina.ca>
Cc: "S.W. Cheung" <swcheung@hkimd.cig.mot.com>, www-security@ns2.rutgers.edu
In-Reply-To: <199605291427.IAA00824@MERCURY.CS.UREGINA.CA>
Errors-To: owner-www-security@ns2.rutgers.edu
I don't think that you're answering the right question. I think the
question was how to redirect requests to one server to another machine.
In the W3C server (nee "CERN"), you can use the Map command to accomplish
this. In your /etc/httpd.conf (or where ever you keep your web daemon's
configuration), use:
Map /elsewhere/* http://elsewhere.com/*
If your machine is called "here.com", then if someone tries to go to
"http://here.com/elsewhere/somefile" your server will tell their browser
to go to "http://elsewhere.com/somefile" - all they'll see is the URL at
the top of their screen change after they enter the request; the new page
will load automatically (it does, at least, in Mosaic and Netscape).
I expect this works equally well with Apache and NSCA
On Wed, 29 May 1996, Lianyi Zhu wrote:
> > Dear All:
> >
> > I am sorry to send this question that is not related to security of
> > WWW... Please advise me where I should send this kind of WWW FAQ...
> >
> > Question:
> >
> > Is it possible to alias a web page as another site?
> >
> > For example:
> >
> > http://www.abc.def.com/~zzz/index.html
> >
> > alias to
> >
> > http://www.zzz.abc.def.com/index.html
>
> Yes, you can setup your box as multiple virtual machines (with multiple
> ip addresses and FQDNs), and configure your webserver (srm.conf) so that
> for www.zzz.abc.def.com the webserver (NCSA prefered) will retrieve
> index.html from ~zzz.
Jacob Rose "The truth is where the sculptor's
jacob@whiteshell.com chisel chipped away the lie."