blob: 61f311b8c5218e5e7247784d39c3fcc3e10a7865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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. Also see [ErrorDocument](http://httpd.apache.org/docs/2.2/mod/core.html#errordocument)'s documentation.
> Nice idea, I'll try to find time to add a plugin doing this. --[[Joey]]
>> [[done]] some time ago, as the [[plugins/404]] plugin --[[smcv]]
[[wishlist]]
|