Elaine Ashton wrote:
I AM thinking of the end users as if we would do a URI rewrite for 10-20,000 pages, this would entail the server scanning /every/ rule to match against before finally serving up the page. In the battle of glacial server vs. broken link on a zippy server, the zippy server wins.

You could obviously do a database lookup to go from old->new, rather than a log list of rewrite rules, for performance. For example in mod_perl. The database of old->new conversion mappings gets created once when the site is migrated.

And if the URL space is organized appropriately, you can make sure that only old pages go through this database lookup, for example a top level rule that this only kicks in for pages starting with /os/ (and not using this prefix for the new site).

If any of the new pages go away in future then you get a 404 response to the mapped page then - nobody is saying this can't happen any more then there are a subset of broken links in the past - but only for the smaller subset of pages that move, and only in future. Some people have bookmarks and other existing links to pages...

Hugh.

_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to