Flutterby™! : Migrating MediaWiki

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Migrating MediaWiki

2008-09-08 16:42:08.147544+00 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 ascending chronological order (reverse):

#Comment Re: made: 2008-09-08 17:34:48.147202+00 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.

#Comment Re: made: 2008-09-08 18:49:10.08678+00 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 20:17:52.92671+00 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-09 01:20:12.14264+00 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-09 01:29:37.891687+00 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:40:50.329452+00 by: spc476

Don't forget the environment variables may be different under cron as well.

#Comment Re: made: 2008-09-09 12:38:12.874457+00 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.