]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/404.mdwn
53dace3c90800c4aa3e5c9d1807c70fadc9c7b43
[ikiwiki.git] / doc / plugins / 404.mdwn
1 [[!template id=plugin name=404 author="[[Simon_McVittie|smcv]]"]]
2 [[!tag type/web]]
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 /ikiwiki.cgi
12
13 (The path here needs to be whatever the path is to the ikiwiki.cgi from
14 the root of your web server.)
15
16 Or put something like this in the wiki's Lighttpd (>=1.4.17) configuration file:
17
18     server.error-handler-404 = "/ikiwiki.cgi"
19
20