Ikiwiki is not tied to being served by a webserver. Instead, it will “compile” a source tree to a tree with the resulting pages. This resulting tree could be served by any webserver, and can include a CGI for web-specific features, like preferences of the visitor or online editing.
The resulting wiki could be viewed and edited only locally, though.