aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-01-31 18:57:12 +0000
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2009-01-31 18:57:12 +0000
commitf4dd02f00ae5255641b49d60e971f6f298f6a98f (patch)
tree226437a9197586fd339fd9a88ace7201fde6a96c
parentef3f93b6f668381abb8cebe7ca116e5bf8997069 (diff)
downloadikiwiki-f4dd02f00ae5255641b49d60e971f6f298f6a98f.tar
ikiwiki-f4dd02f00ae5255641b49d60e971f6f298f6a98f.tar.gz
Clarify behaviour of 404 handler and link an example
-rw-r--r--doc/todo/apache_404_ErrorDocument_handler.mdwn7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/todo/apache_404_ErrorDocument_handler.mdwn b/doc/todo/apache_404_ErrorDocument_handler.mdwn
index e3dd7c345..b580294ca 100644
--- a/doc/todo/apache_404_ErrorDocument_handler.mdwn
+++ b/doc/todo/apache_404_ErrorDocument_handler.mdwn
@@ -8,6 +8,9 @@ I think it'd probably have to be a separate CGI script because the environment w
(having said that, it might make sense for `recentchanges_link` to return 404 rather than
200 anyway if the page doesn't exist).
+> This turns out to be untrue, as long as the wrapper lets a couple of extra
+> environment variables through. --[[smcv]]
+
This would give IkiWiki the behaviour of many other wikis, where visiting a page that
does not yet exist prompts you to create it, without having to invoke the CGI for
successful requests.
@@ -15,4 +18,6 @@ successful requests.
Due to [a well-known MSIE misfeature](http://support.microsoft.com/default.aspx?scid=kb;en-us;Q294807),
error output needs to be at least 512 bytes long, so some padding might also be required.
-Implemented in the 'goto' branch in my git repository. --[[smcv]]
+Implemented in the 'goto' branch in my git repository. You can see this
+feature in action [on my blog](http://smcv.pseudorandom.co.uk/no/such/page/).
+--[[smcv]]