[CLUE-Tech] redirection question for Apache

Jed S. Baer thag at frii.com
Sat Nov 3 22:17:00 MST 2001


On Sun, 4 Nov 2001 04:50:52 -0000
jason at matchingmoms.com wrote:

> I want my home page to be generated by a perl script.  I'm using Red Hat
> 7.1
> and the Apache web server which came with that distribution.
<snip>
> else happens.  Does anyone know how to redirect the browser to another
> location (preferably without Javascript or some other client-side tool).

Well, the refresh tag ought to do it nicely. AFAICT, it will do the same
thing as a JavaScript body.onload event handler. Been around in the HTML
spec since, um, HTML 2.0? Just don't use a 0 second timeout, cuz that
really messes with people's ability to use the [back] button.

-- 
  If R is the set of all sets which don't contain themselves,
  does R contain itself? 

Received: from mail2.hypermall.com (IDENT:exim at webmail.forethought.net [216.241.37.118])
	by clue.denver.co.us (8.9.3/8.9.3) with ESMTP id WAA30064
	for <clue-tech at clue.denver.co.us>; Sat, 3 Nov 2001 22:16:28 -0700
Received: from [216.241.35.41] (helo=swordfish.havenrock.com)
	by mail2.hypermall.com with esmtp (Exim 3.16 #1)
	id 160G1X-000596-00
	for clue-tech at clue.denver.co.us; Sat, 03 Nov 2001 22:40:47 -0700
Received: from matt by swordfish.havenrock.com with local (Exim 3.12 #1 (Debian))
	id 160Fso-0000Gg-00
	for <clue-tech at clue.denver.co.us>; Sat, 03 Nov 2001 22:31:46 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15332.53954.580180.509961 at swordfish.havenrock.com>
Date: Sat, 3 Nov 2001 22:31:46 -0700 (MST)
From: Matt Gushee <mgushee at hypermall.net>
To: clue-tech at clue.denver.co.us
Subject: [CLUE-Tech] redirection question for Apache
In-Reply-To: <004501c164ec$5add5a40$650010ac at net>
References: <200111031900.MAA29467 at clue.denver.co.us>
	<004501c164ec$5add5a40$650010ac at net>
X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid
Sender: clue-tech-admin at clue.denver.co.us
Errors-To: clue-tech-admin at clue.denver.co.us
X-BeenThere: clue-tech at clue.denver.co.us
X-Mailman-Version: 2.0beta2
Precedence: bulk
Reply-To: clue-tech at clue.denver.co.us
List-Id: CLUE technical discussions, questions and answers. <clue-tech.clue.denver.co.us>

jason at matchingmoms.com writes:

 > My default home page is /var/www/html/index.hmtl.  To test redirection using
 > the HTTP_EQUIV tag I created the following index.html:

It's HTTP-EQUIV (hyphen, not underscore).

Matt Gushee



More information about the clue-tech mailing list