summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/allow_creation_of_non-existent_pages.mdwn7
1 files changed, 7 insertions, 0 deletions
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