joey 2007-09-20 19:19:22 +00:00
parent 5c56633e81
commit cef13b9b54
1 changed files with 7 additions and 0 deletions

View File

@ -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.