From: joey Date: Thu, 20 Sep 2007 19:19:22 +0000 (+0000) Subject: web commit by http://madduck.myopenid.com/ X-Git-Tag: 2.9~82 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cef13b9b54608623e33d0703ea2ab245eccab976;p=ikiwiki.git web commit by http://madduck.myopenid.com/ --- diff --git a/doc/todo/allow_creation_of_non-existent_pages.mdwn b/doc/todo/allow_creation_of_non-existent_pages.mdwn new file mode 100644 index 000000000..2266e845d --- /dev/null +++ b/doc/todo/allow_creation_of_non-existent_pages.mdwn @@ -0,0 +1,7 @@ +With a statement such as + + ErrorDocument 404 /wiki/cgi-bin/ikiwiki?do=create + +in `apache`'s configuration, I think that it would be possible to let the user surf to non-existent pages and be prompted to create an entry, as it is with other popular wiki engines. + +From the [apache documentation](http://httpd.apache.org/docs/2.2/custom-error.html), it seems that the environment variable `REDIRECT_URL` will carry the name of the page the user has accessed. \ No newline at end of file