# Redirect old /doc/wiki to sipb-www.scripts
RewriteRule ^doc/wiki(/.*)?$ http://sipb-www.scripts.mit.edu/doc/wiki$1 [R,L]
+
+# Give a better error page for 404s
+ErrorDocument 404 /_wiki-cgi/ikiwiki.cgi
# IMPORTANT! If you add plugins that involve interface changes, you
# will need to modify our templates to allow this, as our custom
# template does not support them yet. See ~/src/ikiwiki/templates
- add_plugins => [qw(goodstuff html httpauth rename remove)],
+ add_plugins => [qw(goodstuff html httpauth rename remove 404)],
# plugins to disable
# IMPORTANT! If you reenable passwordauth/openid, you need to
# do some modifications described in TODO.SIPB in the source-tree