W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2002

AW: clarify "redirects" in checkpoint 7.5

From: Jan Eric Hellbusch <hellbusch@web.de>
Date: Thu, 7 Mar 2002 10:43:17 +0100
To: "Rebecca Cox" <rebecca@cwa.co.nz>, <w3c-wai-ig@w3.org>
Message-ID: <NFBBJKECKLPNANIKABHJIEBKCOAA.hellbusch@web.de>
Rebecca,

if you want to redirect your visitors permanently (ie you have changed your
file structure, deleted files ...) and are using an Apache server (majority
of cases), just include the following line for each file in your .htaccess
file on the server (root directory):

RedirectPermanent /somePath/spmeFileName.htm
http://www.yourDomain.de/newPath/newFileName.htm

This will cause a server-side redirect without client interaction, thus
avoiding meta or JavaScript redirects, which are dependent on the client
software’s capability of understanding the code.

The .htaccess file should be default be calleds by the server before
anything is delivered to the client. .htaccess allows you to configure a
number of server-side functions, including password protected access and
server-side redirects.

I’m sure that other server systems have similar functions.

If you are doing redirects dependent on the client software or user’s
behaviour, you will have to use server-side coding, ie PHP, ASP ...

Prost
Jan

+ + + + + + + + + + + + + + + + + + + + + +
Tel.: +49 (0611) oder (0163)  3 36 99 25
Web: www.barrierefreies-webdesign.de

  -----Ursprüngliche Nachricht-----
  Von: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org]Im
  Auftrag von Rebecca Cox
  Gesendet: Mittwoch, 6. März 2002 21:22
  An: w3c-wai-ig@w3.org
  Betreff: clarify "redirects" in checkpoint 7.5


  I need some clarification of this ckeckpoint from WCAG:

  (7.5)
  "until user agents provide the ability to stop auto-redirect, do not
  use markup to redirect pages automatically. Instead, configure the
  server to perform redirects."

  What I need to know is, what exactly does "configure the server to
  perform redirects" mean? There is very little detail in the WAI
  documents about this checkpoint.

  I'm working on something where the redirects happen server side,
  using standard server side coding, rather than configuring the server
  to perform redirects - I'm not totally sure whether this method is
  within the checkpoint or not.

  Cheers

  Rebecca Cox
Received on Thursday, 7 March 2002 04:37:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:01 GMT