aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/404.mdwn
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <smcv@web>2011-06-04 16:18:31 +0000
committeradmin <admin@branchable.com>2011-06-04 16:18:31 +0000
commit0fe321c2361d89cbcdea23c0b377d63bb48865fe (patch)
tree3284172afbbad2900b762f7d72fae00004436a1a /doc/plugins/404.mdwn
parentd1ae5f90acef211d342f30f752d61bc2bc5ff8a0 (diff)
downloadikiwiki-0fe321c2361d89cbcdea23c0b377d63bb48865fe.tar
ikiwiki-0fe321c2361d89cbcdea23c0b377d63bb48865fe.tar.gz
comments on interop with other servers
Diffstat (limited to 'doc/plugins/404.mdwn')
-rw-r--r--doc/plugins/404.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/plugins/404.mdwn b/doc/plugins/404.mdwn
index bf033202a..ab6ac4dea 100644
--- a/doc/plugins/404.mdwn
+++ b/doc/plugins/404.mdwn
@@ -13,4 +13,11 @@ file:
(The path here needs to be whatever the path is to the ikiwiki.cgi from
the root of your web server.)
+This plugin might also be useful on some non-Apache web servers, if they provide the
+`REDIRECT_STATUS` and `REDIRECT_URL` environment variables to their 404 handlers.
+`REDIRECT_STATUS` should be `404` and `REDIRECT_URL` should be the path
+part of the URL (for instance it would be `/plugins/404/` if this page was missing).
+If you would like help with adapting this plugin for a different web server,
+you will need to provide the output of
+[[this 404 handler|forum/nginx:_404_plugin_not_working#comment-6b1607f7961d2873517d4780f56ac3ad]].