]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/404.mdwn
Merge commit 'smcv/img-bugfix'
[ikiwiki.git] / doc / plugins / 404.mdwn
index 8d36279c884f2c73cd0c0103f79323fbbe16c08c..ad332ee04341ad189ff01c7f4786f7a335553441 100644 (file)
@@ -8,4 +8,13 @@ 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
+    ErrorDocument 404 /ikiwiki.cgi
+
+(The path here needs to be whatever the path is to the ikiwiki.cgi from
+the root of your web server.)
+
+Or put something like this in the wiki's Lighttpd (>=1.4.17) configuration file:
+
+    server.error-handler-404 = "/ikiwiki.cgi"
+
+