]> sipb.mit.edu Git - ikiwiki.git/commitdiff
web commit by http://madduck.myopenid.com/
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 20 Sep 2007 19:19:22 +0000 (19:19 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 20 Sep 2007 19:19:22 +0000 (19:19 +0000)
doc/todo/allow_creation_of_non-existent_pages.mdwn [new file with mode: 0644]

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 (file)
index 0000000..2266e84
--- /dev/null
@@ -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