2009-02-01 01:26:36 +01:00
|
|
|
[[!template id=plugin name=404 author="[[Simon_McVittie|smcv]]"]]
|
2010-02-12 09:38:00 +01:00
|
|
|
[[!tag type/web]]
|
2009-01-31 19:27:54 +01:00
|
|
|
|
2009-01-31 23:32:10 +01:00
|
|
|
This plugin lets you use the IkiWiki CGI script as an Apache 404 handler,
|
2009-01-31 19:27:54 +01:00
|
|
|
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:
|
|
|
|
|
2009-02-05 21:31:37 +01:00
|
|
|
ErrorDocument 404 /ikiwiki.cgi
|
|
|
|
|
|
|
|
(The path here needs to be whatever the path is to the ikiwiki.cgi from
|
|
|
|
the root of your web server.)
|
2009-02-11 07:56:01 +01:00
|
|
|
|
|
|
|
Or put something like this in the wiki's Lighttpd (>=1.4.17) configuration file:
|
|
|
|
|
|
|
|
server.error-handler-404 = "/ikiwiki.cgi"
|
|
|
|
|
|
|
|
|