]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/apache404.mdwn
Split apache404 into an independent plugin
[ikiwiki.git] / doc / plugins / apache404.mdwn
1 [[!template id=plugin name=apache404 author="[[Simon_McVittie|smcv]]"]]
2 [[!tag type/useful]]
3
4 This plugin lets you use the IkiWiki CGI script as an Apache 404 handler,
5 to give the behaviour of various other wiki engines where visiting a
6 nonexistent page provides you with a link to create it.
7
8 To achieve this, put something like this in the wiki's Apache configuration
9 file:
10
11     ErrorDocument 404 /cgi-bin/ikiwiki.cgi