- From: Kynn Bartlett <kynn@idyllmtn.com>
- Date: Mon, 28 Jul 2003 08:08:03 -0700
- To: <lholst@robotics.lu.se>
- Cc: "Olivier Thereaux" <ot@w3.org>, <www-validator@w3.org>
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 UTC