On Sat, Aug 15, 2009 at 7:15 AM, Alan Burlison<[email protected]> wrote:
> We know about mod_rewrite, we already use it extensively.  Your example
> assumes there is a 1:1 mapping from pages in the current portal to the ones
> in xwiki, and there isn't.  It also assumes that the target page of the
> redirect is accessible as a file on the machine doing the redirect, and in
> our case it isn't.  The target pages are not on the same machine and the
> pages are not stored in a filesystem.

I'm not sure why you are making these distinctions.  AFAIK, your
migration tools are not automatically splitting or joining pages as
they migrate, so, for those pages, there is still a 1:1 mapping, and
this discussion is focused on only those pages.  Apache's mod_rewrite
and friends don't operate on "files", they operate on URLs - I take
advantage of that to redirect things on my own site from old file URLs
into new mediawiki database generated ones with no problems.  AFAIK
again, redirects can cross machine space boundaries, though there
might be another browser roundtrip involved.

  -John
_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to