Re: Redirection

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 UTC