summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/tips/dot_cgi.mdwn8
-rw-r--r--doc/todo/apache_404_ErrorDocument_handler.mdwn2
-rw-r--r--doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn2
3 files changed, 12 insertions, 0 deletions
diff --git a/doc/tips/dot_cgi.mdwn b/doc/tips/dot_cgi.mdwn
index fbc3d8bbc..ffcbf95d4 100644
--- a/doc/tips/dot_cgi.mdwn
+++ b/doc/tips/dot_cgi.mdwn
@@ -26,6 +26,14 @@ configuration changes should work anywhere.
Or, if you've put it in a `~/public_html`, edit
`/etc/apache2/mods-available/userdir.conf`.
+You may also want to enable the [[plugins/apache404]]
+plugin. To make apache use it, the apache config file
+will need a further modification to make it use ikiwiki's CGI
+as the apache 404 handler. Something like this, with
+the path adjusted to where you've put the CGI:
+
+ ErrorDocument 404 /cgi-bin/ikiwiki.cgi
+
## lighttpd
Here is how to enable cgi on [lighttpd](http://www.lighttpd.net/) and
diff --git a/doc/todo/apache_404_ErrorDocument_handler.mdwn b/doc/todo/apache_404_ErrorDocument_handler.mdwn
index b580294ca..4ae1d1a79 100644
--- a/doc/todo/apache_404_ErrorDocument_handler.mdwn
+++ b/doc/todo/apache_404_ErrorDocument_handler.mdwn
@@ -21,3 +21,5 @@ error output needs to be at least 512 bytes long, so some padding might also be
Implemented in the 'goto' branch in my git repository. You can see this
feature in action [on my blog](http://smcv.pseudorandom.co.uk/no/such/page/).
--[[smcv]]
+
+[[done]]
diff --git a/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn b/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
index 4bf3fb449..26c5202d0 100644
--- a/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
+++ b/doc/todo/generic___39__do__61__goto__39___for_CGI.mdwn
@@ -31,3 +31,5 @@ something, and moved to `IkiWiki/CGI.pm`?
>>> No, good point - the `REDIRECT_STATUS` check is sufficiently unambiguous
>>> already. Fixed. --[[smcv]]
+
+[[done]]