aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/apache404.mdwn
blob: bab8fb59dfbce462b989bb06140de19c609d5e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
[[!template id=plugin name=apache404 author="[[Simon_McVittie|smcv]]"]]
[[!tag type/useful]]

This plugin lets you use the IkiWiki CGI script as an Apache 404 handler,
to give the behaviour of various other wiki engines where visiting a
nonexistent page provides you with a link to create it.

To achieve this, put something like this in the wiki's Apache configuration
file:

    ErrorDocument 404 /cgi-bin/ikiwiki.cgi