diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-31 18:52:38 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-31 18:52:38 -0500 |
commit | 3be69a0fe49f947a9f5ef26ce0c5920c6295902d (patch) | |
tree | 9428820d45f68a6fb8be6f77ea0ee7e17c816f59 /doc/plugins | |
parent | 0fe92602496210294e71c28ba459f06277a8c2ac (diff) | |
parent | c886bea32084a920f3ba26b3f96327681f5db917 (diff) |
Merge commit 'smcv/goto'
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/apache404.mdwn | 11 | ||||
-rw-r--r-- | doc/plugins/goto.mdwn | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/plugins/apache404.mdwn b/doc/plugins/apache404.mdwn new file mode 100644 index 000000000..bab8fb59d --- /dev/null +++ b/doc/plugins/apache404.mdwn @@ -0,0 +1,11 @@ +[[!template id=plugin name=apache404 author="[[Simon_McVittie|smcv]]"]] +[[!tag type/useful]] + +This plugin lets you use the IkiWiki CGI script as an Apache 404 handler, +to give the behaviour of various other wiki engines where visiting a +nonexistent page provides you with a link to create it. + +To achieve this, put something like this in the wiki's Apache configuration +file: + + ErrorDocument 404 /cgi-bin/ikiwiki.cgi diff --git a/doc/plugins/goto.mdwn b/doc/plugins/goto.mdwn new file mode 100644 index 000000000..21dda16b2 --- /dev/null +++ b/doc/plugins/goto.mdwn @@ -0,0 +1,10 @@ +[[!template id=plugin name=goto author="[[Simon_McVittie|smcv]]"]] +[[!tag type/useful]] + +This plugin adds a `do=goto` mode for the IkiWiki CGI script. It's mainly +for internal use by the [[apache404]], [[comments]] and [[recentchanges]] +plugins, which enable it automatically. + +With this plugin enabled you can link to `ikiwiki.cgi?do=goto&page=some/where` +to make a link that will redirect to the page `/some/where` if it exists, or +offer a link to create it if it doesn't. |