diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-31 19:26:36 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-31 19:26:36 -0500 |
commit | 3b83e520182a83e4ae6c61ab7b360b0eb939469f (patch) | |
tree | 540e62579bb246a411d25fac866968605ee496f7 /doc/plugins/404.mdwn | |
parent | e5c8bc6222712fe9f465d4ac36350fd4ea729787 (diff) |
rename apache404 -> 404
This may already work with other web servers that have copied apache's
interface, and it should be easy to add support to it for web servers that
use some other interface. So, make the name more general.
Diffstat (limited to 'doc/plugins/404.mdwn')
-rw-r--r-- | doc/plugins/404.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/plugins/404.mdwn b/doc/plugins/404.mdwn new file mode 100644 index 000000000..8d36279c8 --- /dev/null +++ b/doc/plugins/404.mdwn @@ -0,0 +1,11 @@ +[[!template id=plugin name=404 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 |