Date: Thu, 23 May 1996 14:34:40 -0700 (PDT) From: Jim Dennis <jimd@mistery.mcafee.com> To: freebsd-questions@freebsd.org (FreeBSD Questions) Subject: How do I redirect *all* http traffic from one host to another Message-ID: <199605232134.OAA13155@mistery.mcafee.com>
next in thread | raw e-mail | index | archive | help
Well the old Sun4 is dying (got some parity errors and died this morning -- cleaning the SIMMS contacts has brought it up for now -- but ...) So my boss is finally following my advice and letting me configure a PC with FreeBSD to take over that role (as the primary DNS server, and mailhost for our domain). While I'm at it I'd like to a webserver on that box to redirect any HTTP traffic to our main web server (www.mcafee.com) (basically to gracefully redirect anyone who requests: http://mcafee.com). I know how to use a CGI-bin to do a redirection (just 'echo "Location: http://www.mcafee.com"; echo') But how can I do that with my main index.html file? Can I do this with some <META ...> tag or with X-bit hack and a <!--#Exec > (server-side include)? I'll have some other questions on this -- I'm sure.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605232134.OAA13155>