diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-01-31 18:27:54 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2009-01-31 18:27:54 +0000 |
commit | fb0e3a7dbc7f71f8684c99c20d319671e60354b1 (patch) | |
tree | 49803892efd5c54ef0c21d87ffc3d0a5d5d57f30 /doc | |
parent | dedbe110f27e77051c8e49e0a53b8cdd148dd752 (diff) | |
download | ikiwiki-fb0e3a7dbc7f71f8684c99c20d319671e60354b1.tar ikiwiki-fb0e3a7dbc7f71f8684c99c20d319671e60354b1.tar.gz |
Add tip explaining how to use ikiwiki as a 404 handler
Diffstat (limited to 'doc')
-rw-r--r-- | doc/tips/apache_404_handler.mdwn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/tips/apache_404_handler.mdwn b/doc/tips/apache_404_handler.mdwn new file mode 100644 index 000000000..0fda759e7 --- /dev/null +++ b/doc/tips/apache_404_handler.mdwn @@ -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 |