]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Add tip explaining how to use ikiwiki as a 404 handler
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sat, 31 Jan 2009 18:27:54 +0000 (18:27 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sat, 31 Jan 2009 18:27:54 +0000 (18:27 +0000)
doc/tips/apache_404_handler.mdwn [new file with mode: 0644]

diff --git a/doc/tips/apache_404_handler.mdwn b/doc/tips/apache_404_handler.mdwn
new file mode 100644 (file)
index 0000000..0fda759
--- /dev/null
@@ -0,0 +1,10 @@
+[[!meta title="Apache 404 handler"]]
+
+Sufficiently recent versions of IkiWiki can be used 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?do=goto