Migrating MediaWiki
2008-09-08 18:42:08.147544+02 by
Dan Lyke
7 comments
In trying to track down what's making the Flutterby server run out of memory, I've also decided that I'm going to see if I can migrate Flutterby.net from MediaWiki to something more reasonable for the type of site it is.
The immediate problem is URL remapping: I'd like to keep all of the extant links intact. I can do this a couple of ways, I'm planning on moving this whole thing to MediaWiki on a private server and then using mw2html to extract the MediaWiki content, but managing the redirects and such seems like a royal PITA. Anyone done this? Do I just give Apache a monster list of redirects, or set up a CGI handler that does a database lookup or straight string remapping and then sends a redirect?
I also seem to be having issues with mw2html getting all of the files.
[ related topics:
Free Software Interactive Drama Open Source Databases
]
comments in descending chronological order (reverse):
#Comment Re: made: 2008-09-09 14:38:12.874457+02 by:
davep_phone
I use mod_rewrite in combination with my content server PHP script, which has a big table of files I
know I've rearranged. Seems to work well even under a pretty heavy load. Mod_rewriite can handle
an awful lot.
#Comment Re: made: 2008-09-09 05:40:50.329452+02 by:
spc476
Don't forget the environment variables may be different under cron as well.
#Comment Re: made: 2008-09-09 03:29:37.891687+02 by:
Dan Lyke
Any idea what user they're getting run under? I'll poke around a bit, but I'm not seeing anything obvious. It's also weird that it had been crashing on Sunday morning, but this last one was Monday morning.
#Comment Re: made: 2008-09-09 03:20:12.14264+02 by:
meuon
JT's the king for Mod_ReWrite, but the problem is some part of the cron weekly scripts, even though when I run them manually I'm not getting a problem.
I'll play some Wednesday, heading back to Atlanta tomorrow.
#Comment Re: made: 2008-09-08 22:17:52.92671+02 by:
JT
This cheat sheet has saved my butt a number of times. It's good to keep it somewhere for quick reference if you deal with mod_rewrite.
#Comment Re: made: 2008-09-08 20:49:10.08678+02 by:
Dan Lyke
Here we go, Apache has a cookbook entry for an external rewriting engine.
Now to figure out why mw2html isn't digging as deep as I'd like...
#Comment Re: made: 2008-09-08 19:34:48.147202+02 by:
spl
Good luck figuring out the redirects. I can imagine that's a pain.
I suppose if you have the same names for entries, you can do either a pattern redirect with Apache or a CGI script. That might be the easiest.
We will not edit your comments. However, we may delete your
comments, or cause them to be hidden behind another link, if we feel
they detract from the conversation. Commercial plugs are fine,
if they are relevant to the conversation, and if you don't
try to pretend to be a consumer. Annoying endorsements will be deleted
if you're lucky, if you're not a whole bunch of people smarter and
more articulate than you will ridicule you, and we will leave
such ridicule in place.