W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2003

Re: Redirection

From: Matthew Smith <matt@kbc.net.au>
Date: Wed, 12 Nov 2003 07:07:00 +1030
Message-ID: <3FB1486C.4060506@kbc.net.au>
To: WAI Interest Group <w3c-wai-ig@w3.org>

Greetings All

Thanks to everyone who responded on this topic and my apologies if the 
subject looked 'spammy'.

Looking at code examples that Jesper gave me off-list and Patrick's 
httpd.conf lines:

> RewriteEngine on
> RewriteRule ^/news/details/(.*) /news/news.php?id=$1

...I have decided to leave things pretty much the way they are and to 
let Apache do the bulk of the work.  This should a) have little system 
overhead (because Apache is doing it) and b) allow me to produce much 
more "friendly" URIs.

I have had problems mailing URIs before; even when delimited with <>, 
some mailers chop the line, stopping the URI working at the other end. 
A more friendly (and accessible if they have to be typed in) URI scheme 
can be achieved without having to do any serious re-coding.

I now have to read up on regular expressions so that I can preserve one 
part of the original query string - the part that controls the 
stylesheet colour scheme/font selector.

Cheers

M

-- 
Matthew Smith
Kadina Business Consultancy
South Australia
http://www.kbc.net.au
Received on Tuesday, 11 November 2003 15:37:03 GMT

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