[Moin-user] Can I #redirect outside the wiki?

Skip Montanaro skip at pobox.com
Thu May 31 09:38:56 EDT 2007

    >> I moved some pages from one internal wiki to another.  Is it
    >> possible to automatically redirect the old pages to the new
    >> using the #redirect processing instruction?

    Gnarlie> You would need to use an Apache rewrite to do that. For
    Gnarlie> example, I would put this in my .htaccess page in the
    Gnarlie> Scripts folder:


Thanks, I'm aware of how to do this in Apache.  I would like to allow
users to do this from within MoinMoin on a page-by-page basis though.
Most of them don't know how to sling Apache config directives.  If
they need to migrate a page from one wiki to another I think it would
be easier if they could just add the #redirect to the old location.
(Yes, I'm aware of the security implications.  Both these wikis are
internal to our company and not visible to the outside world.  I would
be happy if there was an allow_general_redirects which defaulted to
False and required me to explicitly enable it.)


More information about the Moin-user mailing list