W3C home > Mailing lists > Public > www-validator@w3.org > July 2003

Re: http-equiv="refresh" redirects ignored in markup validator

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Mon, 28 Jul 2003 08:08:03 -0700
Cc: "Olivier Thereaux" <ot@w3.org>, <www-validator@w3.org>
To: <lholst@robotics.lu.se>
Message-Id: <48F766AE-C10D-11D7-916A-000393D9E692@idyllmtn.com>

How do you do an HTTP redirect?  Well, it depends on your Web
server.  If you're using Apache, do something like this:

      Redirect /aq3e http://kynn.com/hobbies/dnd/aq3e

The syntax is:

      Redirect old-path new-url

If you're using some other Web server, consult your documentation.

As for the redirect being "there for a reason", well, how is the
validator supposed to know what it's there for?  If you want the
original page validated, give it the URL of the original page.  If
you want the redirect page validated, give it the URL of the
new page.  There are plenty of reasons you'd want to validate a
page that contains a refresh -- including trying to figure out why
that particular page isn't working.

Doing things your desired way would be a bad idea, as you would
never be able to validate the HTML on a page with a meta-refresh.

--Kynn

On Monday, July 28, 2003, at 07:22 AM, Lars Holst wrote:
> Why? The redirect is there for a reason, right? I really don't see why 
> it
> shouldn't follow it.
>
> I do appreciate your pointer, but I'd be even more grateful for a link 
> to a
> page that actually explains the HTTP-based feature that I should use.
>
> Thanks,
> Lars
>
>
>
--
Kynn Bartlett <kynn@idyllmtn.com>                     http://kynn.com
Chief Technologist, Idyll Mountain                http://idyllmtn.com
Author, CSS in 24 Hours                       http://cssin24hours.com
Inland Anti-Empire Blog                      http://blog.kynn.com/iae
Shock & Awe Blog                           http://blog.kynn.com/shock
Received on Monday, 28 July 2003 11:08:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:09 GMT