Hi all,

We're in the process of moving our MoinMoin between servers. When making the
switch, I'm anticipating some time when the domain for our wiki will still point
to the old server while the DNS propogates.

I've setup a temporary domain that people can access the new moin right now. To
ensure no data loss in the conversion and minimize confusion I will be changing
the moin on the old server to be read only, and also added a `page_header1` in
our wikiconfig.py to indicate that the user should be going to the tmp url while
the DNS switches over completely.

This is all fine so far, but I'm curious if/how I can make the URL that I report
in my `page_header1` to be dynamic, like it is on the moinmoin.wikiweb.de site
so that it can return the appropriate URL for the same page on the new server
that the user is trying to access on the old server.

So, in the header, when the user tries to access this page:
http://example.com/cgi-bin/moin.cgi/SomePage

I'd like to convert it to:
http://new.example.com/SomePage

(we moved from cgi to mod_wsgi, to boot)

Thanks for any help,
-steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to